Content
View differences
Updated by Bruno Pagno over 1 year ago
* Administration: there are new role permissions:
* View comments with restricted visibility
* Write comments with restricted visibility
* Edit own comments with restricted visibility
* Edit others' comments with restricted visibility (for moderation)
**To be done:**
* add new permissions to [https://github.com/opf/openproject/blob/dev/config/initializers/permissions.rb](https://github.com/opf/openproject/blob/dev/config/initializers/permissions.rb)
* add translations for the permission keys [https://github.com/opf/openproject/blob/dev/config/locales/en.yml#L3241](https://github.com/opf/openproject/blob/dev/config/locales/en.yml#L3241)
**Open points:**
* Where in the order should the new permissions be?
* Do we need to do anything special to handle visibility when the comments with restrictev visibility feature is not enabled for the project?
* View comments with restricted visibility
* Write comments with restricted visibility
* Edit own comments with restricted visibility
* Edit others' comments with restricted visibility (for moderation)
**To be done:**
* add new permissions to [https://github.com/opf/openproject/blob/dev/config/initializers/permissions.rb](https://github.com/opf/openproject/blob/dev/config/initializers/permissions.rb)
* add translations for the permission keys [https://github.com/opf/openproject/blob/dev/config/locales/en.yml#L3241](https://github.com/opf/openproject/blob/dev/config/locales/en.yml#L3241)
**Open points:**
* Where in the order should the new permissions be?
* Do we need to do anything special to handle visibility when the comments with restrictev visibility feature is not enabled for the project?