Adição do perform para rule settings

pull/1/head
adriano 2022-01-10 20:46:44 -03:00
parent d5d9afe86b
commit 70a6e38c18
2 changed files with 2 additions and 1 deletions

View File

@ -100,7 +100,7 @@ const Settings = () => {
<Can <Can
role={user.profile} role={user.profile}
perform="ticket-options:deleteTicket" perform="settings-view:show"
yes={() => ( yes={() => (
<div className={classes.root}> <div className={classes.root}>
<Container className={classes.container} maxWidth="sm"> <Container className={classes.container} maxWidth="sm">

View File

@ -16,6 +16,7 @@ const rules = {
"dashboard-view:show", "dashboard-view:show",
"queues-view:show", "queues-view:show",
"user-view:show", "user-view:show",
"settings-view:show",
], ],
}, },
}; };