Adição do perform para rule settings
parent
d5d9afe86b
commit
70a6e38c18
|
@ -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">
|
||||||
|
|
|
@ -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",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue