mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 01:35:34 +08:00
Merge pull request #6695 from rekonder/aj_SCI_9770
Fix manage edit card permission propagation [SCI-9770]
This commit is contained in:
commit
7b09c43c22
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ json.update_path update_cell_repository_repository_row_path(@repository, @reposi
|
||||||
|
|
||||||
json.permissions do
|
json.permissions do
|
||||||
json.can_export_repository_stock can_export_repository_stock?(@repository)
|
json.can_export_repository_stock can_export_repository_stock?(@repository)
|
||||||
|
json.can_manage can_manage_repository_rows?(@repository) if @repository.is_a?(Repository)
|
||||||
end
|
end
|
||||||
|
|
||||||
json.actions do
|
json.actions do
|
||||||
|
|
Loading…
Reference in a new issue