Closed Bug 1204659 Opened 9 years ago Closed 3 years ago

[admin] Add Project Manager role for creating new projects

Categories

(Webtools Graveyard :: Pontoon, defect, P3)

defect

Tracking

(firefox43 affected)

RESOLVED MOVED
Tracking Status
firefox43 --- affected

People

(Reporter: osmose, Unassigned)

References

Details

In order to better enable groups like mofo to create and edit projects without relying on the Pontoon admin team, we should add a new "Project Manager" role that is allowed to create new projects and edit projects that they've created. 

We can probably handle this by adding per-object permissions (I've used https://github.com/django-guardian/django-guardian in the past with success) limiting the new role to creating new projects. Then, as part of the project creation process, we assign them as an editor of the newly-created project. This'd also open up the ability for Project Managers to assign other users as editors of their projects as well, which may be useful.

This is blocked by our work in bug 1203788 to replace the custom admin interface with the stock Django interface, as we don't want to continue supporting the old admin interface by adding more fields for these improvements.
Mentor: m
Summary: Add "Project Manager" role for creating new projects → [admin] Add Project Manager role for creating new projects
Priority: -- → P3
Project managers should not only be able to access https://pontoon.mozilla.org/admin/projects/SLUG/, but also have the translator permission for that project, meaning they can add/remove/fix translations.

As for handling project management permissions to other users, we should follow the same UX we use for team management. Thus, I'm removing the dependency.
Mentor: m
No longer depends on: 1203788
Hi! This may be outside the scope of this bug, but how does one actually delete a project? Is it currently possible to do so via UI? And would delete access be granted to the proposed Project Manager role? Thanks.
Permission to delete a project should be granted to a project manager. Currently it's possible to do it through the Django Admin UI, accessible at /a.
*This bug has been moved to GitHub.*

*Please check it out on https://github.com/mozilla/pontoon/issues.*
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → MOVED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.