feat: permettre la modification des portées
This commit is contained in:
parent
4493357590
commit
f45cfc40f2
15 changed files with 218 additions and 14 deletions
|
|
@ -271,7 +271,7 @@ if ($pageDescription === '') {
|
|||
if (path.startsWith('/admin') || path.startsWith('/documents')) return 'administrative';
|
||||
return null;
|
||||
};
|
||||
const permissionEditPages = new Set(['/animal/new', '/animal/edit', '/animal/death', '/litter/new',
|
||||
const permissionEditPages = new Set(['/animal/new', '/animal/edit', '/animal/death', '/litter/new', '/litter/edit', '/litter/update', '/litter/kitten/detach',
|
||||
'/litter/add-existing', '/litter/add-existing/save', '/bonded/new', '/directory/new',
|
||||
'/directory/edit', '/care-round/setup'
|
||||
]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue