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

docs: Add recipe for permission checks in the UI #2038

Merged
merged 2 commits into from Mar 11, 2024

Conversation

haines
Copy link
Member

@haines haines commented Mar 8, 2024

We get asked how to do permissions checks in the UI fairly frequently (e.g. here, here, here, and here), so it'd be good to provide some recommended approaches.

I also replaced some of the uses of "Title Case" with "Sentence case" because the docs currently use a bit of both, which is like nails on chalkboard to me 😆

Signed-off-by: Andrew Haines <haines@cerbos.dev>
Signed-off-by: Andrew Haines <haines@cerbos.dev>
@haines haines merged commit de9e65c into cerbos:main Mar 11, 2024
15 checks passed
@haines haines deleted the frontend-permissions-recipe branch March 11, 2024 07:44
haines added a commit to haines/cerbos that referenced this pull request Mar 11, 2024
We get asked how to do permissions checks in the UI fairly frequently
(e.g.
[here](https://community.cerbos.dev/t/8043690/hi-all-is-there-any-way-api-to-get-all-allowed-resources-and#a908848c-9a30-45be-a28d-9d7c94d1c9ca),
[here](https://community.cerbos.dev/t/12647108/hi-wave-is-there-a-best-practice-for-conditional-rendering-o#ef19573b-c759-4ec1-bc0a-cbb42cdf0268),
[here](cerbos#1603), and
[here](https://community.cerbos.dev/t/16650698/hi-guys-i-have-a-stupid-question-slightly-smiling-face-i-und#163d8d5c-c84c-4cc1-bc28-2311d3772840)),
so it'd be good to provide some recommended approaches.

I also replaced some of the uses of "Title Case" with "Sentence case"
because the docs currently use a bit of both, which is like nails on
chalkboard to me 😆

---------

Signed-off-by: Andrew Haines <haines@cerbos.dev>
haines added a commit to haines/cerbos that referenced this pull request Mar 11, 2024
We get asked how to do permissions checks in the UI fairly frequently
(e.g.
[here](https://community.cerbos.dev/t/8043690/hi-all-is-there-any-way-api-to-get-all-allowed-resources-and#a908848c-9a30-45be-a28d-9d7c94d1c9ca),
[here](https://community.cerbos.dev/t/12647108/hi-wave-is-there-a-best-practice-for-conditional-rendering-o#ef19573b-c759-4ec1-bc0a-cbb42cdf0268),
[here](cerbos#1603), and
[here](https://community.cerbos.dev/t/16650698/hi-guys-i-have-a-stupid-question-slightly-smiling-face-i-und#163d8d5c-c84c-4cc1-bc28-2311d3772840)),
so it'd be good to provide some recommended approaches.

I also replaced some of the uses of "Title Case" with "Sentence case"
because the docs currently use a bit of both, which is like nails on
chalkboard to me 😆

---------

Signed-off-by: Andrew Haines <haines@cerbos.dev>
haines added a commit that referenced this pull request Mar 11, 2024
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

2 participants