示例#1
0
def modify_file_permissions_by_keys(file_key, user_key, permissions = None, new_starred = None, new_colour = None):
	return PAL.modify_file_permissions_by_keys(file_key,user_key, permissions, new_starred, new_colour)
示例#2
0
def remove_user_by_key(user_key):
	return PAL.remove_user_by_key(user_key)
示例#3
0
def get_user_key_by_id(user_id):
	return PAL.get_user_key_by_id(user_id)
示例#4
0
def revoke_user_element_permissions(user_key,element_key):
	return PAL.revoke_user_element_permissions(user_key,element_key)
示例#5
0
def get_element_permissions_by_key(key):
	return PAL.get_element_permissions_by_key(key)
示例#6
0
def modify_element_permissions_by_key(key,new_access):
	return PAL.modify_element_permissions_by_key(key,new_access)
示例#7
0
def modify_user_element_permissions(user_key,element_key,new_access):
	return PAL.modify_user_element_permissions(user_key,element_key,new_access)
示例#8
0
def get_permissions_by_key(permissions_key):
	return PAL.get_permissions_by_key(permissions_key)
示例#9
0
def get_user_file_permissions_key(file_key, user_key):
	return PAL.get_user_file_permissions(file_key, user_key).key
示例#10
0
def revoke_user_file_permissions(file_key, user_key):
	return PAL.revoke_user_file_permissions(file_key, user_key)
示例#11
0
def remove_user_by_id(user_id):
	return PAL.remove_user_by_id(user_id)
示例#12
0
def revoke_permissions_by_key(permissions_key):
	return PAL.revoke_permissions_by_key(permissions_key)
示例#13
0
def revoke_all_by_user_key(user_key):
	return PAL.revoke_all_by_user_key(user_key)
示例#14
0
def revoke_all_by_file_key(file_key):
	return PAL.revoke_all_by_file_key(file_key)
示例#15
0
def get_element_key_by_ref(element_ref):
	return PAL.get_element_key_by_ref(element_ref)
示例#16
0
def get_file_permissions_list(file_key):
	return PAL.get_file_permissions_list(file_key)
示例#17
0
def add_element_permissions(u_key,e_key,set_access):
	return PAL.add_element_permissions(u_key,e_key,set_access)
示例#18
0
def get_user_permissions_list(user_key):
	return PAL.get_user_permissions_list(user_key)
示例#19
0
def remove_user(user):
	user_id = user.user_id()
	return PAL.remove_user_by_id(user_id)
示例#20
0
def add_element(ref):
	return PAL.add_element(ref)
示例#21
0
def revoke_element_permissions_user_key(user_key):
	return PAL.revoke_element_permissions_user_key(user_key)
示例#22
0
def remove_element_by_ref(element_ref):
	return PAL.remove_element_by_ref(element_ref)
示例#23
0
def revoke_element_permissions_by_key(key):
	return PAL.revoke_element_permissions_by_key(key)
示例#24
0
def remove_element_by_key(element_key):
	return PAL.remove_element_by_key(element_key)
示例#25
0
def get_user_element_permissions_key(user_key, element_key):
	return PAL.get_user_element_permissions_key(user_key, element_key)
示例#26
0
def rename_element(old_ref, new_ref):
	return PAL.rename_element(old_ref, new_ref)
示例#27
0
def modify_user_by_id(user_id, new_user):
	return PAL.modify_user_by_id(user_id, new_user)
示例#28
0
def get_element_by_key(element_key):
	return PAL.get_element_by_key(element_key)
示例#29
0
def get_user_by_key(user_key):
	return PAL.get_user_by_key(user_key)
示例#30
0
def add_file_permissions(permissions_file_key,permissions_user_key, permissions, new_colour = '000000', new_starred = False):
	return PAL.add_file_permissions(permissions_file_key, permissions_user_key, permissions, new_colour, new_starred)