Uploaded image for project: 'eXo-JCR'
  1. eXo-JCR
  2. EXOJCR-1716

Create new RuntimePermission and add check for it in the removeUserEventListener()

    Details

      Description

      For cloud-workspaces, we will add new org.service listener, which will control the amount of users in the repository.
      To disallow unregistering of this listener from groovy code, we need to protect unregister method with some RuntimePermission.
      For this task, seems we need only protect the User method, so i'm not sure is it better to protect also unregistering listeners for Groups, Memberships & UserProfiles or no, leave it up to you.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dkuleshov Dmitry Kuleshov
                Reporter:
                max_shaposhnik Maxim Shaposhnik
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 2 hours
                  1d 2h