Bug #6532

API for permission related operations lacks some functionality

Added by Tomáš Strachota about 4 years ago. Updated 9 days ago.

Status:Closed
Priority:Normal
Assignee:Tomáš Strachota
Category:API
Target version:1.6.0
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link:1117691 Found in Releases:
Pull request:

Description

  • responses of usergroups' read actions should list associated roles
  • there's no way to listing available resource types
  • responses of filters' read actions should list associated roles and permissions
  • api docs for usergroups and roles miss some parameters
  • usergroups don't require name

Related issues

Related to Hammer CLI - Feature #2922: Add commands for managing Roles Closed 08/13/2013
Related to Foreman - Bug #5945: Role API broken Closed 05/27/2014

Associated revisions

Revision 14e81700
Added by Tomáš Strachota about 4 years ago

Fixes #6532 - permission related api extensions

- usergroups#show lists associated roles
- listing available resource types
- filters#show lists associated roles
- filters#index lists associated roles and permissions and orders the results
- pagination in permissions#index
- missing parameters in apidocs for usergroups and roles
- usergroups require name

History

#1 Updated by Tomáš Strachota about 4 years ago

  • Related to Feature #2922: Add commands for managing Roles added

#2 Updated by Tomáš Strachota about 4 years ago

  • Status changed from Assigned to Ready For Testing

#3 Updated by Tomáš Strachota about 4 years ago

  • Bugzilla link set to 1117691

#4 Updated by Dominic Cleal about 4 years ago

  • Legacy Backlogs Release (now unused) set to 10

#5 Updated by Anonymous about 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#6 Updated by Dominic Cleal almost 4 years ago

  • Related to Bug #5945: Role API broken added

Also available in: Atom PDF