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
role={user.profile}
perform="ticket-options:deleteTicket"
perform="settings-view:show"
yes={() => (
<div className={classes.root}>
<Container className={classes.container} maxWidth="sm">

View File

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