Adição do perform para rule settings
parent
d5d9afe86b
commit
70a6e38c18
|
@ -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">
|
||||
|
|
|
@ -16,6 +16,7 @@ const rules = {
|
|||
"dashboard-view:show",
|
||||
"queues-view:show",
|
||||
"user-view:show",
|
||||
"settings-view:show",
|
||||
],
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue