Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up membership page - member table #436

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

AnishReddyRavula
Copy link
Contributor

Show gear icon only if the user logged in has manager access level

or show the gear icon for the user itself - so they can remove themselves from the project

Show role drop down only if the logged in user has manager access level

Added edit column name for the gear icon column

Show gear icon only if the user logged in has manager access level

or show the gear icon for the user itself - so they can remove themselves from the project

Show role drop down only if the logged in user has manager access level

Added edit column name for the gear icon column
Copy link
Contributor

@Mark-Powers Mark-Powers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

</td>
<td>
{% if u.username != request.user.username %}
{% if u.username == request.user.username or can_manage_project_membership %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea!

@AnishReddyRavula AnishReddyRavula merged commit b5bcbd5 into master Mar 6, 2024
10 of 12 checks passed
@AnishReddyRavula AnishReddyRavula deleted the memebership-page-cleanup branch March 6, 2024 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants