wiki:APP_RESOURCE_PROPERTIES_SECURITY_R0
Last modified 16 years ago Last modified on 01/30/09 18:58:16

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=APP_RESOURCE_PROPERTIES_SECURITY_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|) failed
current transaction is aborted, commands ignored until end of transaction block

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.

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.)