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

User Permissions are not updating as per project #8320

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Ghanavishmathi-Macharla
Copy link
Collaborator

🔩 Description: What code changed, and why?

When the user has access to two different projects as editor and viewer respectively, user can edit the project where he has only viewer access.Fixed the issue to restrict the user based on permissions, when the user wants to access the restricted things will show the error message in notification banner.

⛓️ Related Resources

https://chefio.atlassian.net/browse/CHEF-1677

👍 Definition of Done

Added changes to fix the bug.

👟 How to Build and Test the Change

✅ Checklist

All PRs must tick these:

With occasional exceptions, all PRs from Progress employees must tick these:

  • Is the code clear? (complicated code or lots of comments--subdivide and use well-named methods, meaningful variable names, etc.)
  • Consistency checked? (user notifications, user prompts, visual patterns, code patterns, variable names)
  • Repeated code blocks eliminated? (adapt and reuse existing components, blocks, functions, etc.)
  • Spelling, grammar, typos checked? (at a minimum use make spell in any component directory)
  • Code well-formatted? (indents, line breaks, etc. improve rather than hinder readability)

All PRs from Progress employees should tick these if appropriate:

  • Tests added/updated? (all new code needs new tests)
  • Docs added/updated? (all customer-facing changes)

Please add a note next to any checkbox above if you are NOT ticking it.

📷 Screenshots, if applicable

Screenshot 2023-12-01 at 16 51 14

Signed-off-by: Ghanavishmathi-Macharla <[email protected]>
Copy link

netlify bot commented Dec 4, 2023

👷 Deploy Preview for chef-automate processing.

Name Link
🔨 Latest commit 87949ee
🔍 Latest deploy log https://app.netlify.com/sites/chef-automate/deploys/656d6eb40a85bd0008738fdb

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.

3 participants