-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enforce follower rules per channel. #82
Comments
I've noticed this happening, but didn't realise it was a server issue. |
Yes, the current state of affiliations is... less than optimal. Like affiliations (and subscriptions) being per-node instead of per-channel. And in the DB you'll also see some "follower+post" affiliations instead of "publisher". Old bugs. I have plans to fix this but it will take time (and this week I've already worked more on the server than on my thesis). For now, could you work around this in the new web client? Only keeping the highest affiliation for each JID, and ignoring |
We can totally work around it. Just getting it on the list so we don't loose it. @Schnouki. Noted. Thanks for all you hard work on the server. |
Hi, yes, IMHO the subscription + affiliation mayhem originating from XEP-0060 However it's has always been like that in bc because it "somehow worked" So, if someone comes up with a more simple and straight forward logic and Cheers,Tuomas On 6 September 2012 01:24, Thomas Jost [email protected] wrote:
|
Had a look at the server today, it would seem that a user can not have more than one affiliation for a node due to unique index on the affiliations table. I'm wondering whether the issue has arisen because the beta system doesn't have this index applied? We could find this out by running a query and checking the results (I've noticed @Imaginators channel suffers this issue so we could use that?). If this is the case then all we would require is a script to clean up the database and the application of the unique index to begin. Later we can see how this issue arose. If not then I'll have to look more deeply into the problem but I'll need access to some example "bad" data. |
Unique keys on the affiliations table prevents duplicate affiliations from being created:
|
Excellent. Nice to know. On 9 September 2012 05:40, Lloyd Watkin [email protected] wrote:
Simon Tennant | buddycloud.com | +49 17 8545 0880 |
We've got a bit of a bizarre situation where a follower can be a channel owner and a moderator. This is confusing for the user since being a moderator eclipses any capabilities of a lower role.
I've added a set of follower rules to the XEP https://buddycloud.org/wiki/XMPP_XEP#Follower_Roles such that:
We need to add checking for roles and enforce this behavior when users change roles
The text was updated successfully, but these errors were encountered: