Esempio n. 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)
Esempio n. 2
0
def remove_user_by_key(user_key):
	return PAL.remove_user_by_key(user_key)
Esempio n. 3
0
def get_user_key_by_id(user_id):
	return PAL.get_user_key_by_id(user_id)
Esempio n. 4
0
def revoke_user_element_permissions(user_key,element_key):
	return PAL.revoke_user_element_permissions(user_key,element_key)
Esempio n. 5
0
def get_element_permissions_by_key(key):
	return PAL.get_element_permissions_by_key(key)
Esempio n. 6
0
def modify_element_permissions_by_key(key,new_access):
	return PAL.modify_element_permissions_by_key(key,new_access)
Esempio n. 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)
Esempio n. 8
0
def get_permissions_by_key(permissions_key):
	return PAL.get_permissions_by_key(permissions_key)
Esempio n. 9
0
def get_user_file_permissions_key(file_key, user_key):
	return PAL.get_user_file_permissions(file_key, user_key).key
Esempio n. 10
0
def revoke_user_file_permissions(file_key, user_key):
	return PAL.revoke_user_file_permissions(file_key, user_key)
Esempio n. 11
0
def remove_user_by_id(user_id):
	return PAL.remove_user_by_id(user_id)
Esempio n. 12
0
def revoke_permissions_by_key(permissions_key):
	return PAL.revoke_permissions_by_key(permissions_key)
Esempio n. 13
0
def revoke_all_by_user_key(user_key):
	return PAL.revoke_all_by_user_key(user_key)
Esempio n. 14
0
def revoke_all_by_file_key(file_key):
	return PAL.revoke_all_by_file_key(file_key)
Esempio n. 15
0
def get_element_key_by_ref(element_ref):
	return PAL.get_element_key_by_ref(element_ref)
Esempio n. 16
0
def get_file_permissions_list(file_key):
	return PAL.get_file_permissions_list(file_key)
Esempio n. 17
0
def add_element_permissions(u_key,e_key,set_access):
	return PAL.add_element_permissions(u_key,e_key,set_access)
Esempio n. 18
0
def get_user_permissions_list(user_key):
	return PAL.get_user_permissions_list(user_key)
Esempio n. 19
0
def remove_user(user):
	user_id = user.user_id()
	return PAL.remove_user_by_id(user_id)
Esempio n. 20
0
def add_element(ref):
	return PAL.add_element(ref)
Esempio n. 21
0
def revoke_element_permissions_user_key(user_key):
	return PAL.revoke_element_permissions_user_key(user_key)
Esempio n. 22
0
def remove_element_by_ref(element_ref):
	return PAL.remove_element_by_ref(element_ref)
Esempio n. 23
0
def revoke_element_permissions_by_key(key):
	return PAL.revoke_element_permissions_by_key(key)
Esempio n. 24
0
def remove_element_by_key(element_key):
	return PAL.remove_element_by_key(element_key)
Esempio n. 25
0
def get_user_element_permissions_key(user_key, element_key):
	return PAL.get_user_element_permissions_key(user_key, element_key)
Esempio n. 26
0
def rename_element(old_ref, new_ref):
	return PAL.rename_element(old_ref, new_ref)
Esempio n. 27
0
def modify_user_by_id(user_id, new_user):
	return PAL.modify_user_by_id(user_id, new_user)
Esempio n. 28
0
def get_element_by_key(element_key):
	return PAL.get_element_by_key(element_key)
Esempio n. 29
0
def get_user_by_key(user_key):
	return PAL.get_user_by_key(user_key)
Esempio n. 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)