Commit Graph

193 Commits

Author SHA1 Message Date
Mikaël Ates 3d10dd6a87 Update of the README 2011-07-30 10:36:09 +02:00
Mikaël Ates b0beb5671b [abac] Use random string as an intermedairy sustitution
We need to substitute number by other in a string. To avoid case where the
substitution string will match another substitution, a preliminary
substitution with random strings is done. Then, random strings are substituted
by the final strings.
2011-07-30 10:32:18 +02:00
Mikaël Ates c5a296c512 Typo in string returned by the unicode method of the permission model 2011-07-30 10:30:38 +02:00
Mikaël Ates 95ba103c76 [abac] remove some comments 2011-07-30 10:28:33 +02:00
Mikaël Ates b8ba06bfa9 Correct bad graph display of policy 2011-07-28 18:22:57 +02:00
Mikaël Ates fcb3bda2f0 Remove unnecessary empty line 2011-07-28 18:22:03 +02:00
Mikaël Ates 23e4065c0a [abac] remove unnecessary spaces 2011-07-28 18:21:14 +02:00
Mikaël Ates 6fa8e1eb21 From to add trusted sources 2011-07-28 18:20:39 +02:00
Mikaël Ates 7ad79cf6e9 New decorator to check authorization to admin ABAC 2011-07-28 18:19:02 +02:00
Mikaël Ates c48e89baeb [xacml] New constants 2011-07-28 18:18:05 +02:00
Mikaël Ates 8e5869a5a6 [abac] interface to add ABAC rules 2011-07-28 18:17:46 +02:00
Mikaël Ates 655b59c066 Add ABAC administration to the administration interface
- A root ABAC admin role has been created

    - Each policy has an ABAC admin role

    - Add interface to give this role to administrators

    - Add items on the modify policy view to add or remove ABAC permissions

    - Manage deletion of ABAC permissions

    - Files for the administration to add ABAC permissions created,
      but not yet implemented
2011-07-26 18:08:31 +02:00
Mikaël Ates ab087ed4d9 New model for ABAC permissions 2011-07-26 14:55:33 +02:00
Mikaël Ates 32f9163ef3 [xacml] add of constants 2011-07-26 14:21:32 +02:00
Mikaël Ates b361741b6d [abac] Update of test script 2011-07-26 13:30:58 +02:00
Mikaël Ates 11d106f17d [abac] Manage comparison of multivalued attributes
The following options to compare attributes are now supported:
        All:
            NO_MULTIVALUES,
        Equality:
            EQUAL_ONE_VALUE, EQUAL_OP1_SUBSET_OP2,
            EQUAL_EXACT_MATCH,
        Diff strict:
            DIFF_ONE_VALUE, DIFF_ALL_VALUES,
        Diff or equal:
            DE_ONE_VALUE_ONE_VALUE, DE_ONE_VALUE_OP1_SUBSET_OP2,
            DE_ONE_VALUE_EXACT_MATCH, DE_ALL_VALUES_ONE_VALUE,
            DE_ALL_VALUES_OP1_SUBSET_OP2, DE_ALL_VALUES_EXACT_MATCH
2011-07-26 13:29:02 +02:00
Mikaël Ates e401da238b [abac] Update test script 2011-07-25 20:49:35 +02:00
Mikaël Ates 9bc26891da [abac] manage predicates with multiple sources 2011-07-25 20:49:10 +02:00
Mikaël Ates e2f0c51802 [abac] Use new data model 2011-07-25 18:12:33 +02:00
Mikaël Ates 6d49a81cf0 [abac] Simplify data model 2011-07-25 18:12:15 +02:00
Mikaël Ates 38435fcd6b [abac] xacml constants file renamed 2011-07-25 17:56:06 +02:00
Mikaël Ates 5d0aa20d30 [abac] Update test script 2011-07-25 17:49:15 +02:00
Mikaël Ates 371ec30471 [abac] load a profile from a dic 2011-07-25 17:48:42 +02:00
Mikaël Ates 0fc0df96a6 [xacml] rename file with datatypes to constants.py 2011-07-25 17:37:53 +02:00
Mikaël Ates 33c0c30e53 [abac] Update of the test script 2011-07-25 17:29:02 +02:00
Mikaël Ates 5eaf8dcc29 [abac] Namespace definition and attribute mapping with JSON
The namespace declarations and the attribute mappings between namespaces
    are defined in two JSON files that can be edited.

    The script load-abac is used to add these definitions to the database.
2011-07-25 17:25:22 +02:00
Mikaël Ates 3e6428a51e [xacml] Update constants 2011-07-25 15:31:38 +02:00
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