Uploaded image for project: 'JTalks Common'
  1. JTalks Common
  2. JTALKSCOMMON-42

Create AclPermissionEvaluator to work with user groups

VotersWatchers
    XMLWordPrintable

    Details

      Description

      New Evaluator should:

      1. Get all the groups user is in
      2. Decide whether any of these groups have granted=false for this permission on this branch (branch is taken from Post). If yes, then false should be returned.
      3. Then decide whether there are groups that have granting=true for this permission on this branch. If true, then return true. If no, then it's false.

      Note, that for some permission we will need more sophisticated schema. E.g. for editing own posts we need to check whether this post is of this user, so a place for extension should be left for the Evaluator.

        Attachments

          Structure

            Activity

              People

              • Assignee:
                elena Lepaeva Elena
                Reporter:
                ctapobep Stanislav Bashkyrtsev
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 8h
                  8h
                  Remaining:
                  Time Spent - 4h Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - 4h Remaining Estimate - 4h
                  4h

                    Structure Helper Panel