Filebrowser: Disable user submitted stylesheets

Created on 9 Aug 2018  Â·  6Comments  Â·  Source: filebrowser/filebrowser

I'm using filebrowser in a configuration where I have some administrative accounts who submit content and multiple shared user account with different permission levels who access said content. I would like to be able to disable user submitted stylesheets as I would like all shared accounts to have the same user experience and prevent some users to disrupt the experience of other users they share the account with.

A good way to handle that would be to allow or disallow stylesheet submission per user.

Alternatively, it would be good to disable custom stylesheets for the whole filebrowser instance, if that is easier to do in the meantime.

If I have missed that feature in the current version, I apologise for the wrong request. I looked into the documentation and that feature seemed missing to me.

Thanks for your consideration and the work you did on filebrowser.

configuration 🗃 enhancement ⚙

All 6 comments

Somewhat related to #502 - one more option to add: allowStyling.

[offtopic] Speaking of stylesheets, could we have some examples of nice stylesheet mods, maybe posted to the readme?

@yurividal, see e.g. #208. Also, please consider opening a new issue to discuss either documenting style mods (probably in filebrowser/community) (also suggested in #407) or enhancing filebrowser to support multiple 'default' CSS and a dropdown select for each user.

We should wait for #506 before doing this because of the commands compatibility.

506 is merged now :smile:.

Hello! Will be available on v2.0! I'm closing this to remove the clutter in the meanwhile. For more info, check #574 and #575!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

the-eric-kwok picture the-eric-kwok  Â·  5Comments

eine picture eine  Â·  4Comments

eternaltyro picture eternaltyro  Â·  5Comments

SJ50 picture SJ50  Â·  5Comments

Annihil8ted picture Annihil8ted  Â·  3Comments