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

Implement front end module permissions #6232

Merged
merged 23 commits into from Jan 10, 2024

Conversation

bezin
Copy link
Contributor

@bezin bezin commented Jul 20, 2023

This PR implements #6016: Same permission management for front-end modules as we have for content elements.

See this short video https://github.com/contao/contao/assets/4400435/b5722372-b6b7-4537-9ed5-d6ddfccfa469

Not yet finished, but I think now is the time to maybe discuss details :-)

@aschempp
Copy link
Member

Awesome! 🎉
Regarding the module access permissions, you should use a security voter instead of a listener on the DCA onload callback.

@leofeyer leofeyer added this to the 5.3 milestone Jul 27, 2023
@aschempp
Copy link
Member

Looks very good to me! Haven't manually tested it yet though 🙃

@leofeyer leofeyer changed the title Implement Front-end module permissions Implement front end module permissions Jan 9, 2024
leofeyer
leofeyer previously approved these changes Jan 10, 2024
@leofeyer leofeyer merged commit 01de922 into contao:5.x Jan 10, 2024
17 checks passed
@leofeyer
Copy link
Member

Thank you @bezin.

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

Successfully merging this pull request may close these issues.

None yet

4 participants