mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 17:51:13 +08:00
Add missing permisson changes [SCI-11181]
This commit is contained in:
parent
b0f41eb14b
commit
ba2e2cd686
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ Canaid::Permissions.register_for(StorageLocation) do
|
|||
root_storage_location.shared_with_write?(user.current_team)
|
||||
end
|
||||
|
||||
can :create_storage_location_repository_rows do |user, storage_location|
|
||||
can :manage_storage_location_repository_rows do |user, storage_location|
|
||||
can_read_storage_location?(user, storage_location) &&
|
||||
user.current_team.permission_granted?(user, TeamPermissions::STORAGE_LOCATION_CONTAINERS_MANAGE)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue