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
Add group members page to templates #844
Conversation
I can confirm this - I thought they were trying to do away with group permissions when orgs were introduced, but it doesn't seem like it. |
FYI: I know that the buttons overlap on this... but this will be answered with #890 |
This seems wrong to me, because it's different from how the organization page works.
|
@seanh Aha! Good point. I think I misunderstood that point of this issue. I was assuming that we simply wanted the members page back in as of 1.8. But in reality we want a replica of the org admin pages. I'll re-write this, thanks for the feedback. |
I'm moving this to 2.2 as it's unlikely that'll be able to get this complete for the tomorrows deadline to branch from master. I'll most likely get to this on Tuesday, so we might be able to squeeze into 2.1 anyways, but I don't want this to block 2.1. |
Makes group member style pages within the edit section of a group and adds tabs to all edit pages.
OK, well... I had time in the end to get this ready for 2.1, so I've tweaked the pull request based on the feedback. |
- When editing a member (as opposed to adding a new one): - Prefill username field, and make it non-editable - Prefill role field with user's current role - Add a delete button to the form - Label the submit button 'Save' rather than 'Add'
I've edited the new group member form to make it more similar to the one for organizations. There's still a few more differences:
@johnmartin Up to you if you want to fix any of the above in this pull request for 2.1 or not, I'm happy for new 2.2 issues to be made out of them, especially because it looks like the groups templates (and the groups feature generally) need a bit of an overhaul. I also noticed that the organization read page shows the number of datasets in the sidebar, but the group one doesn't (not related to this pull request, I guess). It looks like there are a lot of very similar template files for groups and organizations, and by duplicating them random differences like this get in. I wonder if they should be combined into single template files? |
"Edit" is right. But #1030 will answer this problem.
Agreed. Fixed.
Agreed, odd. I've made groups like orgs now.
Again, like 3.
I've made a 2.2 issue #1049 that incorporates this (and some of the other elements you mentioned). As a side note: I think maybe having a generic template for orgs/groups might be a nice idea. I've also merged master into this (since there were merge conflicts) |
@johnmartin The tabs on the group edit page seem broken now? Merge conflict? |
@seanh Yes, the template block names had changed in master. It's fixed now. |
To edit a group's members you have to go to
/group/members/my-group
, but there's no link to this anywhere.