Last modified 16 years ago
Last modified on 01/30/09 18:58:16
Analysis
Overview
Every resource has security ACL (access control list). Security permissions are in a list of couples (ID, permission). The permissions of a resource could be changed.
Task requirements
- Create basic and default permissions of the resources.
- Provide that the permissions of a resource could be changed (adding, deleting permissions).
Task result
- The result of this task should be source code.
Implementation idea
- The security permissions of a resource could be given in a collection <String, String> which is for example (UserID, read) or (GroupID, write).
- Adding a permission is just adding a couple in the collection.
- Deleting a permission is just deleting a couple from the collection.
Related
How to demo
- Create a demo unit test to demonstrate what is done for the R0.
- Demonstrate that a user can read but cannot write.
- Give the user write permission.
- The user can write now.
Design
(Describe your design here.)
Implementation
(Describe and link the implementation results here (from the wiki or the repository).)
Testing
(Place the testing results here.)
Comments
(Write comments for this or later revisions here.)