-
Notifications
You must be signed in to change notification settings - Fork 5
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
Simplify access/user checks #10
Comments
I was planning on switching to just |
The tier would still work I believe. |
Nope. :( I thought it did too but I tried it earlier and it doesn't. For example, this returns false for an admin: |
That's sad! |
So is that something we want to preserve? It's not how it currently works in RCP and I did notice a few users thinking it was a bug. If we do want to preserve it we should probably at least clarify that's how it works on the restriction screen. |
How about not preserving and adding an upgrade path of some kind. I don't think this is something we'll ever be able to "not break" if we want to ever support it. I propose we update it to use |
I like that idea 👍 Here's a PR I started with the new access checks: #12 |
@nosegraze is this ready for testing? |
@mindctrl The restriction part is ready for a test. The PR doesn't yet have any kind of backwards compatibility or admin notice though. |
The restriction stuff is working great! |
Punting this to 2.3 to give a little more time for testing, the admin notice, and thoughts to back compat. |
Let's get rid of this monstrosity:
The text was updated successfully, but these errors were encountered: