Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue # 7  fix to be able to test system-users. #8

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ElmiraZhernova
Copy link

Requires OSGI config with service mapping for bundle
'biz.netcentric.aem.tools.accesscontrolvalidator.bundle'
Service name in this config should be equal to system user id.

Requires OSGI config with service mapping for bundle
'biz.netcentric.aem.tools.accesscontrolvalidator.bundle'
Service name in this config should be equal to system user id.
@ghenzler
Copy link
Member

ghenzler commented Dec 2, 2020

Closes #7 - @jochenkoschorke please review

@jochenkoschorke
Copy link
Collaborator

Thanks for your contribution and sorry for the late reply!

The solution contained in this PR would require the addition of every service user in a service user mapping which is not very flexible and not suitable for multi tenant setups, each one having its own set of service users. A flexible solution should simply work by specifying a system user in a yaml configuration and the tool would do the rest.
A possible approach could then be to get an admin session via bundle whitelisting and impersonation of a system-user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants