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 ability to restrict Rails actions for each user #29

Open
natacha-beck opened this issue Apr 13, 2015 · 0 comments
Open

Add ability to restrict Rails actions for each user #29

natacha-beck opened this issue Apr 13, 2015 · 0 comments
Assignees
Labels
Enhancement Priority: Low To implement when someone actually requests it! Rails

Comments

@natacha-beck
Copy link
Contributor

The main admin user (and only that user, not even other admins) should have the ability to selectively disable rails actions for other users. In particular, this could be used to restrict another admin user to only a subset of the administrative tasks that exist. The interface would basically look like a table, where (grouped by controller) the list of actions would be presented with checkboxes. A bit of Rails introspection would be needed to build the table.
Controller Action Enabled?
users create X
users delete X
users show O

The default behavior is that all actions are enabled. When an action is disabled, then the application controller (maybe in one of its 'before' or 'around' filters) would return a proper HTTP error code.

@natacha-beck natacha-beck self-assigned this Apr 13, 2015
@natacha-beck natacha-beck added this to the 4.1.0 milestone Apr 13, 2015
@prioux prioux modified the milestones: 4.1.0, 4.2.0 Aug 13, 2015
@prioux prioux modified the milestones: 4.2.0, 4.3.0 Nov 3, 2015
@natacha-beck natacha-beck modified the milestones: 4.3.0, 4.4.0 Mar 16, 2016
@natacha-beck natacha-beck modified the milestones: 4.4.0, 4.5.0 May 31, 2016
@prioux prioux added the Priority: Low To implement when someone actually requests it! label Aug 10, 2016
@prioux prioux modified the milestones: 4.5.0, 4.6.0 Aug 18, 2016
@natacha-beck natacha-beck modified the milestones: 4.6.0, 4.7.0 Nov 21, 2016
@prioux prioux modified the milestones: 4.7.0, 5.1.0 Apr 24, 2017
@prioux prioux modified the milestones: 5.1.0, 4.7.0 Apr 24, 2017
@prioux prioux modified the milestones: 5.1.0, 5.2.0 Nov 16, 2018
@prioux prioux modified the milestones: 5.2.0, 5.3.0 Sep 16, 2019
@prioux prioux added the Rails label Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Priority: Low To implement when someone actually requests it! Rails
Projects
None yet
Development

No branches or pull requests

2 participants