Revision 89a04e1a
Added by Joseph Magen about 10 years ago
app/services/foreman/access_permissions.rb | ||
---|---|---|
:"api/v1/locations" => [:create],
|
||
:"api/v2/locations" => [:create]
|
||
}
|
||
map.permission :edit_locations, {:locations => [:edit, :update, :import_mismatches],
|
||
map.permission :edit_locations, {:locations => [:edit, :update, :import_mismatches, :parent_taxonomy_selected],
|
||
:"api/v1/locations" => [:update],
|
||
:"api/v2/locations" => [:update]
|
||
}
|
||
... | ... | |
:"api/v1/organizations" => [:create],
|
||
:"api/v2/organizations" => [:create]
|
||
}
|
||
map.permission :edit_organizations, {:organizations => [:edit, :update, :import_mismatches],
|
||
map.permission :edit_organizations, {:organizations => [:edit, :update, :import_mismatches, :parent_taxonomy_selected],
|
||
:"api/v1/organizations" => [:update],
|
||
:"api/v2/organizations" => [:update]
|
||
}
|
Also available in: Unified diff
fixes #4617 - add feature to change parent of location or organization