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

Check entity create permission in selector component while creating a… #944

Merged
merged 2 commits into from
Jun 20, 2024

Conversation

pallavimshr
Copy link
Contributor

@pallavimshr pallavimshr commented Jun 19, 2024

… new entity

closes #942

Copy link

cloudflare-workers-and-pages bot commented Jun 19, 2024

Deploying dega-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: a854e10
Status: ✅  Deploy successful!
Preview URL: https://4c920d49.dega-docs.pages.dev
Branch Preview URL: https://fix-942.dega-docs.pages.dev

View logs

Comment on lines 19 to 20
const spaces = useSelector(({ spaces }) => spaces);
const actions = getUserPermission({ resources: ['categories', 'tags'], action: 'create', spaces });
Copy link
Contributor

Choose a reason for hiding this comment

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

getUserPermission func is breaking. Can you please check it?

@shreeharsha-factly shreeharsha-factly merged commit b7137df into develop Jun 20, 2024
1 of 2 checks passed
@shreeharsha-factly shreeharsha-factly deleted the fix-942 branch June 20, 2024 11:32
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.

Check entity create permission in selector component while creating a new entity
2 participants