-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial working version of thread-based permissions
* Users view can now be specific to a thread, not just a group * Link is according to current view * Specific views (e.g. message) link to broader views (group, global) * New topnav link to Exit Users and go back to message * Potentially multiple levels of crossing out, according to various levels of specificity * Redefined "membership" to include any role, not just "read". (More natural.) accessibleGroups() replaces readableGroups(). * memberOfGroup() and memberOfGroups() now include partial members (where some message has some role), not just full members. * messageRoleCheck() to complement groupRoleCheck(): check for group role or specific message role. Change most groupRoleCheck()s over to messageRoleCheck(), including canPost, canEdit, canAdmin * accessibleMessagesQuery() and canSee() logic majorly reworked. * New message2root helper * Further split front page into three types of groups: * Groups with full membership * Groups with partial access * Groups with anonymous access * All other groups (for superusers only, and only with superuser "on") * Limitations: Files and users aren't getting published to partial members.
- Loading branch information
Showing
15 changed files
with
252 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.