Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5898

Create boolean voter that votes whenever the current user is a system or admin user

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 5.3.3
    • None
    • core
    • None

    Description

      Current voters only allow to check whether a user is authenticated (info.magnolia.voting.voters.AuthenticatedVoter). There is no way to determine whether the current user is a system or admin user (or not a public user or a user of any other realm).

      We therefore suggest to introduce a voter that votes on the two known "core" realms info.magnolia.cms.security.Realm#REALM_SYSTEM and info.magnolia.cms.security.Realm#REALM_ADMIN. There is also the public realm (or any other custom realms) which we want to sepcifically exclude!

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                pmundt Philip Mundt
                pmundt Philip Mundt
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD