Patch #28191

Add assignable, issues_visibility, time_entries_visibility and users_visibility to Roles API response

Added by Alex Stanev 8 months ago. Updated 29 days ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:REST API
Target version:4.0.0

Description

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

Associated revisions

Revision 17498
Added by Go MAEDA 29 days ago

Add assignable, issues_visibility, time_entries_visibility and users_visibility to Roles API response (#28191).

Patch by Alex Stanev.

History

#1 Updated by Marius BALTEANU 8 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 8 months ago

  • Category changed from Permissions and roles to REST API

#3 Updated by Alex Stanev 8 months ago

Adding assertions, all tests passed.

#4 Updated by Go MAEDA 8 months ago

  • Target version set to Candidate for next major release

#5 Updated by Go MAEDA 29 days ago

  • Target version changed from Candidate for next major release to 4.1.0

Setting target version to 4.1.0.

#6 Updated by Go MAEDA 29 days ago

  • Subject changed from Extend roles API with all additional fields to Add assignable, issues_visibility, time_entries_visibility and users_visibility to Roles API response
  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Target version changed from 4.1.0 to 4.0.0

Committed. Thank you for your contribution.

Also available in: Atom PDF