Feature #3804
closed
As a developer I'd like to have API to verify permissions and to find resources based on filters
Added by Marek Hulán about 11 years ago.
Updated over 6 years ago.
Category:
Users, Roles and Permissions
|
Description
so I could ask like this
Host.for(user, :view_hosts)
or this
User.current.can?(:view_hostgroups)
User.current.can?(:view_hostgroups, @hostgroup)
- Related to Feature #812: cant assign roles to groups, just to users added
- Tracker changed from Bug to Feature
- Status changed from New to Assigned
- Assignee set to Marek Hulán
- Target version set to 1.9.3
- Description updated (diff)
- Status changed from Assigned to Ready For Testing
This is part of bigger task #812. I mark this as ready for testing since this part is done (even though it can't be merged until #812 is done).
- Target version changed from 1.9.3 to 1.9.2
- Target version changed from 1.9.2 to 1.9.1
- Target version changed from 1.9.1 to 1.9.0
- Category set to Users, Roles and Permissions
- % Done changed from 0 to 100
- Translation missing: en.field_release set to 4
Fixed via #812 for Foreman 1.5.0.
- Status changed from Ready For Testing to Closed
Also available in: Atom
PDF