diff options
author | Go MAEDA <maeda@farend.jp> | 2018-09-23 00:17:11 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2018-09-23 00:17:11 +0000 |
commit | 55ee0b8f7f5626197e5a3bd919b0cd56276a632e (patch) | |
tree | c24059d9f0b9623df4a45185e0a3d3ac675cb435 /app | |
parent | d84837e6f650867f32ebd7ea30626ec593828248 (diff) | |
download | redmine-55ee0b8f7f5626197e5a3bd919b0cd56276a632e.tar.gz redmine-55ee0b8f7f5626197e5a3bd919b0cd56276a632e.zip |
Add assignable, issues_visibility, time_entries_visibility and users_visibility to Roles API response (#28191).
Patch by Alex Stanev.
git-svn-id: http://svn.redmine.org/redmine/trunk@17498 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/roles/show.api.rsb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/roles/show.api.rsb b/app/views/roles/show.api.rsb index 4e81819cf..b1b23bbb5 100644 --- a/app/views/roles/show.api.rsb +++ b/app/views/roles/show.api.rsb @@ -1,6 +1,10 @@ api.role do api.id @role.id api.name @role.name + api.assignable @role.assignable + api.issues_visibility @role.issues_visibility + api.time_entries_visibility @role.time_entries_visibility + api.users_visibility @role.users_visibility api.array :permissions do @role.permissions.each do |perm| api.permission(perm.to_s) |