ui: Don't check global session permissions for a single session (#11657)
This commit is contained in:
parent
6fa1a058a6
commit
8092595057
|
@ -108,8 +108,10 @@ as |parts|}}
|
|||
@parent={{parentKey}}
|
||||
/>
|
||||
|
||||
{{! session is slightly different to item.Session as we only have session if you have session:read perms}}
|
||||
{{#if (and item.Session (can "read sessions"))}}
|
||||
{{! `session` is slightly different to `item.Session` as we only have `session` }}
|
||||
{{! if you have `session:read perms` whereas you can get the sessions ID from }}
|
||||
{{! `item.Session` without any session perms }}
|
||||
{{#if (and item.Session)}}
|
||||
<DataSource
|
||||
@src={{uri '/${partition}/${nspace}/${dc}/sessions/for-key/${id}'
|
||||
(hash
|
||||
|
|
Loading…
Reference in New Issue