AtlasOfLivingAustralia / image-service

Image repository and tiling services
https://images.ala.org.au
0 stars 17 forks source link

Admin button is not showing for me on images-dev #102

Open ansell opened 4 years ago

ansell commented 4 years ago

The Admin button is not showing for me on images-dev.

images-dev:

Screen Shot 2019-11-04 at 12 20 29 pm

images (prod):

Screen Shot 2019-11-04 at 12 20 20 pm

I have the same set of roles for my user on auth-test as auth, including both ROLE_ADMIN and ROLE_IMAGE_ADMIN.

The code responsible for the display of the button appears to be as expected, but I am not familiar with grails to spot a bug in that code:

https://github.com/AtlasOfLivingAustralia/image-service/blame/fed627d06eed0f49d6e84ccd1bca1151645bad0c/grails-app/views/search/list.gsp#L45-L50