automate icon indicating copy to clipboard operation
automate copied to clipboard

User Permissions are not updating as per project

Open Ghanavishmathi-Macharla opened this issue 2 years ago • 2 comments

:nut_and_bolt: 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.

:chains: Related Resources

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

:+1: Definition of Done

Added changes to fix the bug.

:athletic_shoe: How to Build and Test the Change

:white_check_mark: 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.

:camera: Screenshots, if applicable

Screenshot 2023-12-01 at 16 51 14

Ghanavishmathi-Macharla avatar Dec 04 '23 06:12 Ghanavishmathi-Macharla

Deploy Preview for chef-automate processing.

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

netlify[bot] avatar Dec 04 '23 06:12 netlify[bot]