Merge pull request #1023 from candry7731/Content-deletion
Add user policy to check if canDelete
This commit is contained in:
commit
1243281896
|
@ -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