registre-permissions/crud_cli.py

89 lines
1.1 KiB
Python
Raw Normal View History

2023-10-07 03:46:25 +00:00
from crud import *
def add_person():
first_name = input('First name: ')
last_name = input('Last name: ')
date = input('Date: ')
person_model = PersonModel(first_name=first_name, last_name=last_name, date=date)
print("Adding Person ...")
add_person(person_model)
print("Person added")
return None
def list_person():
return None
def edit_person():
return None
def delete_person():
return None
def add_resource():
return None
def list_resource():
return None
def edit_resource():
return None
def delete_resource():
return None
def add_role():
return None
def list_role():
return None
def edit_role():
return None
def delete_role():
return None
def add_permission():
return None
def list_permission():
return None
def edit_permission():
return None
def delete_permission():
return None
def add_user_account():
return None
def list_user_account():
return None
def edit_user_account():
return None
def delete_user_account():
return None