Bug #6532

API for permission related operations lacks some functionality

Added by Tomáš Strachota almost 4 years ago. Updated almost 4 years ago.

Status:Closed
Priority:Normal
Assigned To:Tomáš Strachota
Category:API
Target version:Sprint 26
Difficulty: Bugzilla link:1117691
Found in release: Pull request:
Story points-
Velocity based estimate-
Release1.6.0Release relationshipAuto

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 Tomas Strachota almost 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 almost 4 years ago

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

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

  • Status changed from Assigned to Ready For Testing

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

  • Bugzilla link set to 1117691

#4 Updated by Dominic Cleal almost 4 years ago

  • Release set to 1.6.0

#5 Updated by Anonymous almost 4 years ago

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

#6 Updated by Dominic Cleal over 3 years ago

  • Related to Bug #5945: Role API broken added

Also available in: Atom PDF