read_only.rst 1.6 KB

123456789101112131415161718192021222324252627282930313233
  1. Understanding Read Only Mode of projects
  2. =========================================
  3. If a project is in Read Only Mode, the users of the project may not be
  4. able to modify the git repository of the project. Let's say you forked
  5. a project, then the forked project goes into a read only mode. You won't
  6. be able to modify the git repository of the forked project in that mode.
  7. After the read only mode is gone, you can begin to use the git repository
  8. again. Let's say you decide to add another user to your fork, this time
  9. the project will go in read only mode again but, you still will be able
  10. to use the git repository while the new user will have to wait for read
  11. only mode to get over. This is also true when you remove a user from your
  12. project. The removed user can still access the project's git repository,
  13. given that he had at least commit access, until the read only mode is over.
  14. In Pagure, we use gitolite for Access Control Lists when using SSH.
  15. Modifying gitolite may be a time taking task (depending on number of projects
  16. hosted on the pagure instance) that's why Pagure does it outside of HTTP
  17. Request-Response Cycle.
  18. Whenever you fork a project or add/remove a new user/group to project,
  19. gitolite needs to be refreshed in order to put those changes in effect
  20. for ssh based git usage.
  21. Actions that put the project in read only mode
  22. ----------------------------------------------
  23. All the actions that needs gitolite to be compiled, will bring the
  24. project in read only mode.
  25. * Creating/Forking a project. (only the fork will be in read only mode)
  26. * Adding/Removing a user/group from a project.