smhaller / ldap-overleaf-sl

Free LDAP and OAuth2 Authentication and Authorisation for Sharelatex / Overleaf (Community Edition)
GNU Affero General Public License v3.0
74 stars 35 forks source link

Make "Open/Close Editor" available in admin panel #8

Closed SF2311 closed 3 years ago

SF2311 commented 3 years ago

Add UI options to enable maintenance mode.

smhaller commented 3 years ago

For the moment I just merged the ldap escape. For me the users in the isAdmin group are not sysadmins - I want that users in one ldap group can add users to sharelatex - but not all users should be able to do that. One fix for both would be to extend sharelatex db that there is a field isSysadmin or use an int number for isAdmin (instead of boolean) and determine from that what they are allowed to do...

smhaller commented 3 years ago

Solved. Now you can select which admin interface is copied during make - see .env and the Dockerfile

smhaller commented 3 years ago

Thank you for your contribution !