[Question][Hw4] Return type of several function #703
Replies: 1 comment
-
Hi,
Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Name: Seongjong Park
Hello, I'm Seongjong Park and I have some questions about HW 4.
In document, confer / remove functions should return Normal which is result type and access control matrix both.
But ,in acl.mli, the functions except the read function returns the t type which is the permission map in the assignment. Is the document written wrong? Or do I have to return both of them like (result, access control matrix)?
For confer/ remove functions, I cannot fully understand the functionality of them. Is the meaning of "confer / remove operation is allowed" that if the subject is the owner of object (i.e Permission = Own), then these operations are allowed and if not, then not allowed?
Beta Was this translation helpful? Give feedback.
All reactions