1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-28 11:21:14 +00:00

fix source indent of app/models/role.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@20089 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2020-09-26 15:02:50 +00:00
parent 589609ff3a
commit fb251df344

View File

@ -92,17 +92,18 @@ class Role < ActiveRecord::Base
:if => lambda {|role| role.respond_to?(:time_entries_visibility) && role.time_entries_visibility_changed?})
safe_attributes(
'name',
'assignable',
'position',
'issues_visibility',
'users_visibility',
'time_entries_visibility',
'all_roles_managed',
'managed_role_ids',
'permissions',
'permissions_all_trackers',
'permissions_tracker_ids')
'name',
'assignable',
'position',
'issues_visibility',
'users_visibility',
'time_entries_visibility',
'all_roles_managed',
'managed_role_ids',
'permissions',
'permissions_all_trackers',
'permissions_tracker_ids'
)
# Copies attributes from another role, arg can be an id or a Role
def copy_from(arg, options={})