Display correct options in edit window (edit metadata, styles...) given the permissions the user has for the layer