Patch #28191

Extend roles API with all additional fields

Added by Alex Stanev 7 months ago. Updated 7 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:REST API
Target version:Candidate for next major release


Currently we are missing global roles fields: assignable, issues_visibility, time_entries_visibility and users_visibility. The assignable one is pretty useful when editing issue via API.

extend-roles-api-fields.patch Magnifier (566 Bytes) Alex Stanev, 2018-02-14 15:38

extend-roles-api-fields_v2.patch Magnifier (1.29 KB) Alex Stanev, 2018-02-28 19:17


#1 Updated by Marius BALTEANU 7 months ago

Thanks for the patch.

Can you add some assertions to your patch? source:trunk/test/integration/api_test/roles_test.rb#L54
It'll increase the chances to be taken into consideration.

#2 Updated by Mischa The Evil 7 months ago

  • Category changed from Permissions and roles to REST API

#3 Updated by Alex Stanev 7 months ago

Adding assertions, all tests passed.

#4 Updated by Go MAEDA 7 months ago

  • Target version set to Candidate for next major release

Also available in: Atom PDF