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

refactor: add tag permissions to allow non-owner to edit #5436

Merged
merged 1 commit into from
Aug 9, 2019

Conversation

kieckhafer
Copy link
Member

Impact: minor
Type: refactor

Issue

Operators that didnt' have full admin or owner permissions could not edit tags.

Solution

Add two new permissions which will granulize tag permissions to allow other users the ability to edit tags.

Breaking changes

None. These are new permissions that won't affect existing permissions

Testing

  1. Create a non-admin / owner (Shop Manager) account
  2. See that you can edit tags if the correct permissions are turned on
    Accounts

Copy link
Contributor

@aldeed aldeed left a comment

Choose a reason for hiding this comment

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

Code 👍 , didn't test

@kieckhafer
Copy link
Member Author

Thanks @aldeed. @machikoyasuda could you please do the ui / testing portion of this ticket?

Copy link
Contributor

@machikoyasuda machikoyasuda left a comment

Choose a reason for hiding this comment

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

I was able to successfully add and remove Tag permissions from a Shop Manager, and made sure the app does not allow people w/o the permission to edit tags: Screen Shot 2019-08-08 at 3 52 08 PM

@kieckhafer kieckhafer merged commit abb2f59 into develop Aug 9, 2019
@kieckhafer kieckhafer deleted the ref-kieckhafer-tagPermissions branch August 9, 2019 04:25
@kieckhafer kieckhafer mentioned this pull request Aug 28, 2019
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