diff --git a/python_3_oop/chapter04/editor.py b/python_3_oop/chapter04/editor.py new file mode 100644 index 0000000..17ae123 --- /dev/null +++ b/python_3_oop/chapter04/editor.py @@ -0,0 +1,8 @@ +import auth + + +# setup a test user & permission +auth.authenticator.add_user("joe", "joepassword") +auth.authorizor.add_permission("test program") +auth.authorizor.add_permission("change program") +auth.authorizor.permit_user("test program", "joe") \ No newline at end of file