Add user policy to check if canDelete
This commit is contained in:
parent
c0aa736b46
commit
1dcd328ef4
|
@ -155,6 +155,11 @@ sub LoadUserAbilities(user)
|
|||
else
|
||||
set_user_setting("livetv.canrecord", "false")
|
||||
end if
|
||||
if user.Policy.EnableContentDeletion = true
|
||||
set_user_setting("content.candelete", "true")
|
||||
else
|
||||
set_user_setting("content.candelete", "false")
|
||||
end if
|
||||
end sub
|
||||
|
||||
function initQuickConnect()
|
||||
|
|
Loading…
Reference in New Issue
Block a user