docat
docat copied to clipboard
Read-only users
Hello there !
First of all thanks for your work 🙇
I use Docat to host my team documentation. All projects have a CI/CD pipeline in charge of uploading new versions of docs to Docat.
However, any user can push a new version to any project. And since the 'latest' tag is automatically applied to the last upload, it is very easy for anyone to break a project this way. This is especially true since the buttons on the Home page makes it very easy to upload a documentation, even on an already claimed project.
In other words, I want the users of the platform to be able to look through existing documentation and prevent them from doing any administrative operation.
It would be very useful to:
- Prevent uploads on a claimed project (do not require the token only for existing tags but for the whole project)
- Make it possible to remove the administrative components from the UI (maybe through an environment variable and a conditional JSX rendering ?)
If you feel like this would be a good addition, I would gladly try to implement it myself and open a pull request (else I can always use the Fork 🙈)
Thank you.