Commit Graph

216 Commits

Author SHA1 Message Date
Mikaël Ates d0f3b26f21 [abac] Update functionnal test case script 2011-07-25 15:30:54 +02:00
Mikaël Ates cf94f3d5f2 [abac] Add checks in some logic functions 2011-07-25 15:30:15 +02:00
Mikaël Ates 084a747abe [abac] Update comparison function 2011-07-25 15:29:30 +02:00
Mikaël Ates 736ac54fa3 [abac] Updating ABAC test script in progress... 2011-07-22 20:12:42 +02:00
Mikaël Ates a85d9ec7d5 [abac] Updating core functions in progress... 2011-07-22 20:11:46 +02:00
Mikaël Ates 29e5564e7d [abac] Data model update 2011-07-22 20:11:00 +02:00
Mikaël Ates 582863074e [xacml] Add new constants 2011-07-22 20:10:22 +02:00
Mikaël Ates c3466cf107 [abac] Simpler class diag 2011-06-27 18:23:15 +02:00
Mikaël Ates 741b5a0de3 [abac] get instance with class methods 2011-06-24 15:14:07 +02:00
Mikaël Ates a4edb8577a Typo in ABAC test script 2011-06-23 18:23:06 +02:00
Mikaël Ates b97743a7bd ABAC test script 2011-06-23 18:09:09 +02:00
Mikaël Ates bfa3aac4dc ABAC core implementation (work in progress) 2011-06-23 18:08:27 +02:00
Mikaël Ates 694c63c2a5 Useless cleaning statements in test-role_tree 2011-06-16 13:22:57 +02:00
Mikaël Ates 9a3b69f746 Add a new test script aiming at testing requests with a loaded database 2011-06-16 13:21:48 +02:00
Mikaël Ates 021678a8f4 Enhance tests on response time on a role hierarchy 2011-06-16 12:11:41 +02:00
Mikaël Ates b0d83e7ad0 Script to test performance 2011-06-13 17:27:29 +02:00
Mikaël Ates 0594762443 Defining API in progress.
Works consisting in defining a clean API, then moving administration
    functions from view to core, in progress.

    - Functions to add roles, objects and actions.

    - Function to modify roles

    - Functions to test if a user is authorized to modify or set a permission
      on a policy entity
2011-06-09 12:45:23 +02:00
Mikaël Ates f24b8f8387 Defining API in progress.
Works consisting in defining a clean API, then moving administration
    functions from view to core, in progress.

    - Use set_default_alias() instead of get_default_alias()
2011-06-09 08:14:22 +02:00
Mikaël Ates d82ce84eee Missing file to commit d6e942a551 2011-06-09 07:54:33 +02:00
Mikaël Ates e2836986d6 Remove TODO file 2011-06-09 07:50:41 +02:00
Mikaël Ates 8c2936bf30 Adding .gitignore file 2011-06-09 07:45:27 +02:00
Mikaël Ates 3a80c0f932 Missing file to commit:
a0c4a7876c
2011-06-09 07:41:17 +02:00
Mikaël Ates 1489b4e544 Defining API in progress.
Works consisting in defining a clean API, then moving administration
    functions from view to core, in progress.

    - Use functions to test, set and remove policy root administrators

    - Use set_default_alias() to check that a user has a default alias
    (removing of check_for_admin())
2011-06-09 07:31:42 +02:00
Mikaël Ates 42e1dc9a5e Defining API in progress.
Works consisting in defining a clean API, then moving administration
functions from view to core, in progress.

- Functions to test, set and remove policy root administrators
2011-06-08 18:04:12 +02:00
Mikaël Ates 01a87309d1 Modify creation policy function:
- raise exception
- else return the (policy, policy_created)
- added the boolean argument 'restore' to the function. By default is True.
New the function can be used to restor the necessary objects of an existing
policy. If put to False, force to have all the objects created freshly.

create_policy view modified as a consequence.

Works consisting in defining a clean API, then moving administration
functions from view to core, are beginning.
- Added set_root_administrator and remove_root_administrator functions.
- Modified empower or downgrade root user view as a consequence
2011-06-08 16:04:18 +02:00
Mikaël Ates a0c4a7876c Implementation of permission delegation
---------------------------------------

- Enable users for delegation of its permissions

- When a permission is given, it is tagged as delegable or not

- A user enabled for delegation can delegate every access it has if
the permission given the access is delegable

- When a permission is delegated, the grantor tells if that permission
may be delegated by the grantee
- When a permission is deleted, all the permissions given by delegation
from this permission are also deleted

- comming soon: time-limited permissions and delegations
2011-06-08 10:48:19 +02:00
Mikaël Ates 99643906e6 Allow to define objects with regular expressions 2011-06-01 19:48:45 +02:00
Mikaël Ates ae13280ecf Function to request a decision with names and a namespace 2011-05-31 23:05:50 +02:00
Mikaël Ates f1b933ac5d Fix last fix 2011-05-27 18:17:29 +02:00
Mikaël Ates 745f6ffe46 Fix administration rights checking 2011-05-27 18:14:51 +02:00
Mikaël Ates 3adbb09419 Split files and PEP 2011-05-27 12:19:21 +02:00
Mikaël Ates d6e942a551 Permit to add user alias without having a corresponding user 2011-05-26 18:02:29 +02:00
Mikaël Ates 74fa4443b8 Support django user modification 2011-05-26 17:07:33 +02:00
Mikaël Ates 888ed5d7b3 Handle 'cancel' in forms add_admin_role and view 2011-05-26 16:48:45 +02:00
Mikaël Ates a7ea587a92 Capture missing dependencies to draw graph 2011-05-26 16:43:13 +02:00
Mikaël Ates 1b5a5c5f3e Prompt for password at the user creation stage in the initialization script 2011-05-26 16:29:27 +02:00
Mikaël Ates 4b8bbbcf9c Delete unecessary files 2011-05-26 16:04:48 +02:00
Mikaël Ates 9e1703b6fe Bits of documentation 2011-05-26 16:02:09 +02:00
Mikaël Ates 3475b854e0 Adapt templates to the new style 2011-05-26 12:24:01 +02:00
Mikaël Ates ef796e472f Display main pages with custom tabs 2011-05-26 12:07:37 +02:00
Mikaël Ates a6d4a8f990 Helper functions to add user aliases in policies 2011-05-26 11:06:25 +02:00
Mikaël Ates 35b6bfc2a3 Remove unnecessary control for alias deletion 2011-05-25 23:24:18 +02:00
Mikaël Ates 2c435c1fb9 Bugfix on role tree intialization in RBAC0 2011-05-25 22:59:28 +02:00
Mikaël Ates 44af694721 Graph display revival 2011-05-25 18:11:26 +02:00
Mikaël Ates 300cdcd018 Split files and cleaning 2011-05-25 15:30:15 +02:00
Mikaël Ates 8094239555 Bits of PEPs 2011-05-25 14:47:52 +02:00
Mikaël Ates 9b4f57bcbe Bits of PEPs 2011-05-25 14:46:16 +02:00
Mikaël Ates 66b620993d Bits of PEPs 2011-05-25 14:42:39 +02:00
Mikaël Ates 002d5a2631 Bits of PEPs 2011-05-25 14:40:53 +02:00
Mikaël Ates 092be28d85 Bits of PEPs 2011-05-25 14:39:44 +02:00