HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Redmine-4.x/redmine-4.2.9/app/views/roles/show.api.rsb
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)
    end
  end
end