Revision 4a4c48e1
Added by Tomer Brisker over 8 years ago
app/controllers/roles_controller.rb | ||
---|---|---|
end
|
||
|
||
def new
|
||
# Prefills the form with 'default user' role permissions
|
||
@role = Role.new({:permissions => Role.default_user.permissions})
|
||
@role = Role.new
|
||
end
|
||
|
||
def create
|
Also available in: Unified diff
Fixes #9425 - Remove the Default User role
The Default User role is not actually used anywhere, and causes
confusion with the Anonymous role. Removing it.