Roberto Rosario
378511aea3
Finish fixing failing ACL app tests
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-03-04 16:20:12 -04:00
Roberto Rosario
2cfd4a9095
Add new ACL app API tests
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-03-03 20:02:36 -04:00
Roberto Rosario
2a67cf271e
Refactor ACL app API
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-03-02 16:03:29 -04:00
Roberto Rosario
354ea434ae
Add keyword arguments to the ACLs app code
...
Rename all instance of `pk` or `acl_pk` to `acl_id`
to match the preferred URL parameter naming conventions of
using `id` instead of `pk`.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-01-19 00:09:09 -04:00
Roberto Rosario
dfd548bf62
Update ACL app to compy with MERC 5 and 6
...
Update the entire with keyword arguments. Update the views
to comply with MERC 6 by returning error 404 on access
failure. API are untouched. Add icon to the ACL delete
button. Add additional view tests. Use the new filtered
choice form to display a select2 enabled role selection
widget. Update the ACL creation view to not redirect to an
existing ACL in case of duplication but to instead stop
and display an error with a suggestion to the user
to instead edit the existing ACL.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-01-02 02:48:19 -04:00
Michael Price
b4bf9bfaee
Switch to a resource and service based API from previous app based one.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 18:28:40 -04:00
Roberto Rosario
63682a2945
Merge remote-tracking branch 'origin/master' into feature/master_merge
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-14 15:57:38 -04:00
Roberto Rosario
2544b569f0
Add new read only endpoints for the ACL app API.
2017-02-19 02:35:19 -04:00
Roberto Rosario
2df6cb7985
Remove usage of url.patterns as per Django's deprecation warnings.
2016-11-04 04:02:48 -04:00
Roberto Rosario
3ab4778814
Remove lazy view string loading from urls.py as per Django's deprecation plan.
2016-11-02 17:38:54 -04:00
Roberto Rosario
de4948b84f
Rename acl creation view from acl_new to acl_create for uniformity.
2016-03-18 19:44:25 -04:00
Roberto Rosario
68f3c6eee7
PEP8 cleanups.
2015-08-19 14:50:44 -04:00
Roberto Rosario
1e746c700a
PEP8 cleanups.
2015-07-27 23:53:14 -04:00
Roberto Rosario
070c3b648c
Refactor acls app
2015-06-30 02:38:22 -04:00
Roberto Rosario
5be41af1cf
Remove DefaultAccessControlList support
2015-06-29 14:51:37 -04:00
Roberto Rosario
7dc8cee43f
Normalize how all urls are defined
2015-06-16 02:07:37 -04:00
Roberto Rosario
e9ae8905b4
PEP8 Cleanups
2015-05-18 19:58:03 -04:00
Roberto Rosario
d59ea3ede2
Add from __future__ import unicode_literals, issue #37
2015-01-19 04:06:40 -04:00
Roberto Rosario
3b73936723
Update patterns, url imports in all of the project's urls.py files
2014-06-26 15:27:03 -04:00
Roberto Rosario
ec1745b50b
Initial changes to support the new Django 1.6 project structure
2014-06-15 13:13:21 +02:00