Project

General

Profile

Bug #6532

API for permission related operations lacks some functionality

Added by Tomáš Strachota about 5 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

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 RolesClosed2013-08-13
Related to Foreman - Bug #5945: Role API brokenClosed2014-05-27

Associated revisions

Revision 14e81700 (diff)
Added by Tomáš Strachota about 5 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 5 years ago

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

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

  • Status changed from Assigned to Ready For Testing

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

  • Bugzilla link set to 1117691

#4 Updated by Dominic Cleal about 5 years ago

  • Legacy Backlogs Release (now unused) set to 10

#5 Updated by Anonymous about 5 years ago

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

#6 Updated by Dominic Cleal almost 5 years ago

  • Related to Bug #5945: Role API broken added

Also available in: Atom PDF