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

add page listing tools for Workshop Admins #18393

Merged
merged 4 commits into from
Oct 19, 2017

Conversation

sureshc
Copy link
Contributor

@sureshc sureshc commented Oct 14, 2017

@sureshc
Copy link
Contributor Author

sureshc commented Oct 14, 2017

@tanyaparker Can you create a Trello card for this one? By the way - I implemented the Regional Partner Mappings functionality at the bottom of the Regional Partner "show" view, so there's only one link for all 3 features: edit Regional Partners, assign Program Managers, and add/remove Mappings

@tanyaparker
Copy link
Contributor

Copy link
Contributor

@tanyaparker tanyaparker left a comment

Choose a reason for hiding this comment

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

Having all RP stuff as one link is good enough. Thanks for putting this together!

Copy link
Contributor

@aoby aoby left a comment

Choose a reason for hiding this comment

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

🎉

@@ -0,0 +1,7 @@
class Pd::WorkshopAdminsController < ApplicationController
authorize_resource class: :pd_workshop_user_management
Copy link
Contributor

Choose a reason for hiding this comment

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

This isn't really related to a pd_workshop_user_management resource. I don't want to create unnecessary overhead, but I wonder if it might be better to create a "resource" symbol just for this directory, or even just to explicitly check for that permission?

At the very least add a comment stating this resource is a stand in for workshop_admin permissions, and if anything changes wrt that resource ability, we'll need to separate them. We do have unit tests, so I'm not very concerned about it sneaking up on us, and it's unlikely to change.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I created a dedicated resource symbol (pd_workshop_admins) for this page

@sureshc sureshc merged commit 6c20fb6 into staging Oct 19, 2017
@sureshc sureshc deleted the create-workshop-admin-tools-page branch November 20, 2017 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants