specify / specify7

Specify 7
https://www.specifysoftware.org/products/specify-7/
GNU General Public License v2.0
60 stars 36 forks source link

Disable Colour Picker When User Does Not Have Permission To Change App Resources #3519

Closed carlosmbe closed 1 year ago

carlosmbe commented 1 year ago

Describe the bug Title. Everything else is disabled. I.E TextFields, Drop Downs and Save Button does not work. But the colour picker still shows up. It doesn't really affect anything(you can not save) but it would be better if it doesn't show up.

To Reproduce Steps to reproduce the behavior:

  1. Go to App Resource: UserPreferences as a user without permissions
  2. Click on any colour
  3. See error

Expected behavior Not interactive like everything else

Screen Recording

https://github.com/specify/specify7/assets/53784701/beb84390-d7bb-4746-9ad1-b61181646dc8

Desktop:

Database Name: Gree -> Logged in as Carlos_Wilson

maxpatiiuk commented 1 year ago

This is already fixed on the xml-editor branch. Can you test?

carlosmbe commented 1 year ago

@maxpatiiuk This issue is not fixed in XML Editor.