Patch #28191

Extend roles API with all additional fields

Added by Alex Stanev 2 months ago. Updated about 1 month 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 2 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 2 months ago

  • Category changed from Permissions and roles to REST API

#3 Updated by Alex Stanev about 1 month ago

Adding assertions, all tests passed.

#4 Updated by Go MAEDA about 1 month ago

  • Target version set to Candidate for next major release

Also available in: Atom PDF