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

Report non existing permissions #526

Merged
merged 3 commits into from
Apr 29, 2024
Merged

Conversation

gforcada
Copy link
Member

Closes #515

@gforcada gforcada self-assigned this Dec 22, 2023
@mister-roboto
Copy link

@gforcada thanks for creating this Pull Request and helping to improve Plone!

TL;DR: Finish pushing changes, pass all other checks, then paste a comment:

@jenkins-plone-org please run jobs

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically.

Happy hacking!

@gforcada gforcada force-pushed the report-non-existing-permissions branch from 37c147b to 0b33948 Compare December 22, 2023 23:22
@davisagli
Copy link
Member

There's a failing test.

@gforcada gforcada force-pushed the report-non-existing-permissions branch from 0b33948 to 8c89e1d Compare April 28, 2024 11:38
@gforcada gforcada marked this pull request as draft April 28, 2024 11:38
@gforcada
Copy link
Member Author

This is using #512 to be able to test properly with tox, so let's merge that one first 🍀

@gforcada gforcada marked this pull request as ready for review April 28, 2024 17:59
If the user does not have a permission, it might be because the
permission name is actually wrong.
@gforcada gforcada force-pushed the report-non-existing-permissions branch from 8c89e1d to ce18859 Compare April 28, 2024 18:17
@gforcada
Copy link
Member Author

@jenkins-plone-org please run jobs

Copy link
Member

@ale-rt ale-rt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the idea!

@gforcada gforcada merged commit f2ac29a into master Apr 29, 2024
16 checks passed
@gforcada gforcada deleted the report-non-existing-permissions branch April 29, 2024 18:02
@jaroel
Copy link
Member

jaroel commented Aug 2, 2024

Closes #372

@jaroel
Copy link
Member

jaroel commented Aug 2, 2024

Addresses #401

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.

Warn if the permission does not exist
5 participants