-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
Add AccessControlDefaultAdminRules #4009
Add AccessControlDefaultAdminRules #4009
Conversation
🦋 Changeset detectedLatest commit: b164929 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
It feels to me that this contract is safe, but that this safety relies on the functions not being virtual, and on the user not doing "tricks". As a dev, I just need to call |
Sorry, it was not intentional to avoid
Hmm, that's correct, but I wonder why that might happen. |
This same argument applies to all of our extensions. You can probably mess up Our guideline is to design contracts that are difficult to misuse, not impossible to misuse or to abuse. |
Co-authored-by: Francisco <fg@frang.io>
Co-authored-by: Francisco <fg@frang.io>
Co-authored-by: Francisco <fg@frang.io>
Co-authored-by: Francisco <fg@frang.io>
We can discuss it further. The initial reason for not doing it was avoiding the management it comes with. If we'll do it. I'd like to do it in a follow-up PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good to merge, but we should probably follow up with modifiable delay in another PR.
We could also review the naming for "delayed until".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Also @Amxx agreed to merge. We will follow up with configurable delay in another PR, and a final review round.
There was a flaky test because of the use of |
Fixes #3623
Fixes LIB-618
PR Checklist
npx changeset add
)