-
Improvement
-
Resolution: Fixed
-
Neutral
-
None
-
None
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!
Acceptance criteria
- is depended upon by
-
MGNLPN-184 Switching to original of a page in page preview jumps back to variant
- Closed