readthedocs / ext-theme

Read the Docs drop in replacement site templates
2 stars 2 forks source link

Protect access to team form views using admin permission check #228

Open agjohnson opened 1 year ago

agjohnson commented 1 year ago

I'm trying to tease apart the UX around organization teams and team members/projects, and found that the existing views are a bit overloaded. We don't quite have a read-only view of team detail or team member/project listing. I'm not even entirely sure if I want this, as this duplicates a lot of useful views.

The direction that I'm currently heading with the team, team member, and team project views is:

The other option is to duplicate the project and team member listing views under teams. This isn't wrong, but feels a bit confusing for sure. But this might only take one additional view, for a team project listing. Instead Organization Foo > Teams > Team Bar > Projects being a form view, it would be the project listing with a button at the top right to the project form view. This would keep everything as-is currently, and would help give a read-only and admin view in the same views/templates.