Override Guest Groups (access roles) at Runtime #38974
Unanswered
lancedouglas1
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking to inject the front-end guests' user groups (access role) at runtime and came across this #todo note about possibly allowing value injection:
joomla-cms/libraries/src/Access/Access.php
Line 832 in 8f684f1
I have tested my intent by manually overriding the Access.php file but was wondering if anyone has any thoughts or existing work in this area?
My intent is to use the runtime injection of this value as a means to remove all front-end user authentication from joomla and rely solely on an external oauth2 provider to inject roles into the active front-end guest session. This will allow me to use joomla's RBAC exactly as currently intended, based on the roles (groups) available to the session.
Beta Was this translation helpful? Give feedback.
All reactions