# Feature OP-20222 - Allow previewing permissions in all areas where roles are mentioned

Project: OpenProject
Status: tested
URL: https://community.openproject.org/work_packages/OP-20222

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 18.0.0 |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Administration / Roles and permissions |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan | Community (COM) |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers | Klaus Zanders |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** a project admin  
**I want to** see a preview of what permissions a role will grant when managing project members  
**so that** I can assign the correct role

**Acceptance criteria**

*   In the **Members** area of a project, add a way to preview the premissions a role will grant
    
*   Add a modal that lists all permissions grouped by model with the title and description
    
*   Link that modal in the following areas:
    
    *   Project Members Area (list of current members, adding a new member form, editing existing form for members)
        
    *   Admin -&gt; Users and Permissions -&gt; Users -&gt; _Any User_ -&gt; Projects
        
    *   Admin -&gt; Users and Permissions -&gt; Users -&gt; _Any User_ -&gt; Global Roles
        
    *   Admin -&gt; Users and Permissions -&gt; Groups -&gt; _Any Group_ -&gt; Projects
        
    *   Admin -&gt; Users and Permissions -&gt; Groups -&gt; _Any Group_ -&gt; Global Roles
        
    *   Admin -&gt; Users and Permissions -&gt; Placeholder Users -&gt; _Any Placeholder User_ -&gt; Projects
        
    *   Admin → Users and Permissions → Departments → _Any Department_ → Projects
        
    *   Invite User Flow
        
    *   My Activity page, in the bottom right corner where it lists your own projects with roles
        

**Permissions and visibility considerations**

*   _Admins_
    
*   _Users with_ `manage_members` _permission in any project_
    
*   _User for the roles they have themselves_
