Commit Graph

216 Commits

Author SHA1 Message Date
Mikaël Ates 2bbf337671 Remove deprecated has_key() 2011-05-25 14:30:58 +02:00
Mikaël Ates c701fc6a97 Ask decision view and corrections on deletion functions 2011-05-25 13:15:02 +02:00
Mikaël Ates 4338899b5f Clean unecessary models and functions 2011-05-25 10:29:47 +02:00
Mikaël Ates 030b7d10c8 Display special roles on policy admin page 2011-05-24 17:41:22 +02:00
Mikaël Ates 5806bfb2e2 Use UserAlias and not User to check policy administrators 2011-05-24 17:23:54 +02:00
Mikaël Ates 4411b95cdd Customize main views 2011-05-24 16:54:15 +02:00
Mikaël Ates cec8ffe84b Administration permissions and administration roles and views management 2011-05-24 13:58:48 +02:00
Mikaël Ates 430a8adc1b Manage admin permission management and adding of role and administration views 2011-05-23 23:05:21 +02:00
Mikaël Ates d3490d06a7 Update permissions into policy management 2011-05-23 18:11:59 +02:00
Mikaël Ates 799863c1b3 Update entities into policy management 2011-05-23 16:41:41 +02:00
Mikaël Ates 36e42b58b4 Update management in policy 2011-05-23 10:19:11 +02:00
Mikaël Ates 9e5abe1df1 Manage predefined roles for policy administration 2011-05-20 19:03:40 +02:00
Mikaël Ates 0331973466 Correct initialization script 2011-05-20 17:13:19 +02:00
Mikaël Ates 39d760c41c Encoding latin-1 2011-05-20 17:12:46 +02:00
Mikaël Ates b6467c899e Remove specific management of the special role user administrator 2011-05-20 17:11:56 +02:00
Mikaël Ates 9022d2cc34 Lots of things:
- Switch licence to AGPL and add headers
- Remove the concept of ACS admin
- Add the policy management - The default policy is the policy of access control on other policies
- Add the aliases management - A Django user exist in policies with an alias. Every administrator as thus an alias in the default policy.
2011-05-20 16:15:55 +02:00
Mikaël Ates c719687724 Beginning of works to display and handle multiple policies within the global policy 2011-05-09 18:32:34 +02:00
Mikaël Ates d6312441dc Split normal roles and roles for administration 2011-05-09 16:12:35 +02:00
Mikaël Ates 76fe24442a Fix bug previously introduced 2011-05-09 14:24:07 +02:00
Mikaël Ates 44a9dd004c Remove find_xxx horrible functions 2011-05-09 14:17:18 +02:00
Mikaël Ates 9580dc740e Correct display bug 2011-05-09 11:47:18 +02:00
Mikaël Ates 5b2e3d500f Correct acs initialization bug. 2011-05-09 11:46:55 +02:00
Mikaël Ates 8c735f8f84 Use decorator to protect views and use get_system_view function 2011-05-09 11:30:03 +02:00
Mikaël Ates 5020dc71fb Add a decorator for checking acs initialization and if a user is an administrator 2011-05-08 20:44:22 +02:00
Benjamin Dauvergne 6eb96769b1 First try at a SAML 2.0 AuthzDecisionQuery interface
This is not XACML but it's better than nothing.
2011-05-08 00:46:38 +02:00
Mikaël Ates 76d0969797 Fix an import statement 2011-05-06 23:15:23 +02:00
Mikaël Ates 9652777188 Initialize acs application setting the root admin user 2011-05-06 23:13:42 +02:00
Mikaël Ates 4aa0906bf1 Differentiate access control policy administration and administration to administrate the access control policy 2011-05-06 21:39:52 +02:00
Mikaël Ates a13c5d6b6f Give or remove power of user to administrate the policy 2011-05-06 09:30:39 +02:00
Mikaël Ates 44533dac6b Force to keep user in its admin view at view form saving 2011-05-05 15:48:51 +02:00
Mikaël Ates a4bfb1b361 Prevent users to delete themselves 2011-05-05 14:56:27 +02:00
Mikaël Ates 4659043db0 Translation tag forgottent 2011-05-05 14:45:01 +02:00
Mikaël Ates 53efb28ad7 Prevent to remove users from their admin view 2011-05-05 14:44:24 +02:00
Mikaël Ates bb1c2d860d Template for deletion confirmation 2011-05-05 13:14:26 +02:00
Mikaël Ates 0369c52849 Implementation deletion of objects 2011-05-05 13:03:06 +02:00
Mikaël Ates a572aaf709 Modify display of homepage 2011-05-05 13:01:51 +02:00
Mikaël Ates 9d8947d9b4 Adapt fixtures to model change 2011-05-05 09:39:38 +02:00
Mikaël Ates e7952aa023 Do not allow a user to modify its system view 2011-05-05 09:38:50 +02:00
Mikaël Ates 8208328ba1 Enhance policy display 2011-05-05 09:37:57 +02:00
Mikaël Ates 5b55f2a482 Remove debugging statement 2011-05-04 22:43:25 +02:00
Mikaël Ates 82f134223c Adapt modify views to the new permission management 2011-05-04 22:38:56 +02:00
Mikaël Ates d8c4486dce Fix policy display in graph 2011-05-04 22:36:14 +02:00
Mikaël Ates 6dcd32021d Remove unnecessary template 2011-05-04 19:22:08 +02:00
Mikaël Ates 53714295f8 Rename AcsPermission2 model to AcsPermission 2011-05-04 19:21:03 +02:00
Mikaël Ates c4a54dc355 Use of AcsPermission2, bugfixes 2011-05-04 18:41:39 +02:00
Mikaël Ates ee6870729d Use AcsPermission2 in authorization listings and policy display 2011-05-04 14:57:57 +02:00
Mikaël Ates 8349ddd49f Merge branch 'master' of repos.entrouvert.org:veridic 2011-05-04 12:02:49 +02:00
Mikaël Ates 7ccfa902ae Decisions based on AcsPermission2 2011-05-04 12:02:20 +02:00
Mikaël Ates e359fc1f3d AcsPermission2: Permissions on generic objects 2011-05-04 09:41:18 +02:00
Benjamin Dauvergne 337b16e414 Fix bad imports and wrong names 2011-05-04 09:22:03 +02:00