change(ui): roles to support for service accounts
This commit is contained in:
parent
b7a5dbf04c
commit
c94edf655f
2 changed files with 2 additions and 10 deletions
|
|
@ -137,11 +137,7 @@ function LivePlayer({
|
|||
);
|
||||
}
|
||||
|
||||
export default withPermissions(
|
||||
['ASSIST_LIVE'],
|
||||
'',
|
||||
true
|
||||
)(
|
||||
export default withPermissions(['ASSIST_LIVE', 'SERVICE_ASSIST_LIVE'], '', true, false)(
|
||||
connect((state: any) => {
|
||||
return {
|
||||
siteId: state.getIn([ 'site', 'siteId' ]),
|
||||
|
|
|
|||
|
|
@ -56,11 +56,7 @@ function LiveSession({
|
|||
);
|
||||
}
|
||||
|
||||
export default withPermissions(
|
||||
['ASSIST_LIVE'],
|
||||
'',
|
||||
true
|
||||
)(
|
||||
export default withPermissions(['ASSIST_LIVE', 'SERVICE_ASSIST_LIVE'], '', true, false)(
|
||||
connect(
|
||||
(state, props) => {
|
||||
const {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue