Roberto Rosario
0f9c226a1e
Add sortable role label column
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-10 03:03:43 -04:00
Roberto Rosario
c7e9a4dc99
Add keyword arguments
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-12 02:09:26 -04:00
Roberto Rosario
33056dec04
Allow overloading action_add and action_remove
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-28 00:57:54 -04:00
Roberto Rosario
84c88f9173
Remove app top level star imports
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 03:15:43 -04:00
Roberto Rosario
e80f602974
Update role permission view to use AddRemoveView
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 02:06:11 -04:00
Roberto Rosario
cd24eef107
Update role group list view to AddRemoveView
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 02:02:29 -04:00
Roberto Rosario
4b4629ce2b
Import from common.generics not from common.views
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-25 03:41:30 -04:00
Roberto Rosario
5574aaec9e
Add role create and edit events
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 23:19:04 -04:00
Roberto Rosario
52f734ee9f
Update group roles view to the new AddRemoveView
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 22:23:15 -04:00
Roberto Rosario
f3413b4283
Backport and remove code from the permission app
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-13 01:43:03 -04:00
Roberto Rosario
1f5dffa0e5
Remove permission grant and revoke permissions
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-11 22:07:30 -04:00
Roberto Rosario
f6f9287e33
Add keyword arguments to get_object_or_404 uses
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-11 20:53:33 -04:00
Roberto Rosario
36a51eeb73
Switch to full app paths
...
Instead of inserting the path of the apps into the Python app,
the apps are now referenced by their full import path.
This solves name clashes with external or native Python libraries.
Example: Mayan statistics app vs. Python new statistics library.
Every app reference is now prepended with 'mayan.apps'.
Existing config.yml files need to be updated manually.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-05 02:02:57 -04:00
Roberto Rosario
c9dedde1d0
Add no results help text.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-30 05:26:48 -04:00
Roberto Rosario
79095a88a0
Add sub title explanation to the role permission view.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 00:15:52 -04:00
Roberto Rosario
9ec7fa7f93
Sort permissions in the ACL edit view and copy solution to improve the role permission sorting.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 03:21:35 -04:00
Roberto Rosario
68d96fae7e
Update the role permission edit view require the permission grant or permission revoke permissions for the selected role.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 00:35:09 -04:00
Roberto Rosario
27bca4c438
Sort permission namespaces and permissions in the role permission views.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-02 04:45:10 -04:00
Roberto Rosario
cf99201b89
Add support for Role ACLs.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-02 02:36:20 -04:00
Roberto Rosario
72fc940cd7
Add method to modify a group's role membership from the group's
...
view.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-17 02:05:59 -04:00
Roberto Rosario
f09321f6ab
Fix deprecation warnings for Django 1.11 and Django 2.0.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-21 00:25:18 -04:00
Roberto Rosario
6c6ca38374
Replace all instances of unicode only handling to use force_text.
...
Replace all __unicode__ methods to __str__ and the
@python_2_unicode_compatible decorator.
Replace all instance of smart_str, smart_unicode, force_uncode
with force_text.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-05 15:03:24 -04:00
Roberto Rosario
23ffecdd30
Simplify permission lookup method. Add refresh class method to make sure
...
stored permissions are in sync with proxy permission.
Add __repr__ method.
2017-01-15 23:55:16 -04:00
Roberto Rosario
70a5b0839a
Update redirect variable.
2015-09-23 03:41:33 -04:00
Roberto Rosario
6e4e5e8c07
Simplify texts refering to role members. Change it to role groups.
2015-08-24 00:34:26 -04:00
Roberto Rosario
5563484ae8
Replace remaining usage of get_context_data that could be replaced with get_extra_context.
2015-08-15 23:42:32 -04:00
Roberto Rosario
4527563d89
PEP8 cleanups, specially E501 line too long.
2015-07-22 18:21:37 -04:00
Roberto Rosario
bfab8f1181
Reduce code, remove unused role model form.
2015-07-08 19:02:32 -04:00
Roberto Rosario
e9ea2dc35a
Modernize usage of the AssignRemove CBV
2015-06-30 17:19:56 -04:00
Roberto Rosario
0e24f8d821
Simplify and remove unused code
2015-06-30 02:43:58 -04:00
Roberto Rosario
a68be31e52
Remove unused permissions check code
2015-06-29 16:58:46 -04:00
Roberto Rosario
3d1b030f95
Remove obsolete class Member
2015-06-29 14:30:03 -04:00
Roberto Rosario
3754f45001
Reduce checked out document column label string size. Refactor roles: roles can only have groups as members, only roles can hold permissions.
2015-06-29 14:07:02 -04:00
Roberto Rosario
1c084aa07b
Split Permission and StoredPermission class and model into different modules. Simplified the Permission class.
2015-06-28 01:03:29 -04:00
Roberto Rosario
d26402974a
Allow registering permission from the permission namespace. Replace all permission variables to be lowercase (style guide reserver uppercase variables for constants and literals).
2015-06-28 00:19:49 -04:00
Roberto Rosario
69a7efd6f0
Convert workflows document type selection, smart link document type selection, role members list, user group and group users views to CBV assign remove. Remove now obsolete assign remove function based view
2015-04-07 15:48:27 -04:00
Roberto Rosario
0209ea6632
Update views that used generic_detail to use generic_form in read_only mode. Remove now obsolete generic_detail template
2015-04-07 02:04:41 -04:00
Roberto Rosario
5dabc0a34a
Add new appearance app to hold all of the base templates, images, icons and external packages related to the frontend and look of the project
2015-03-30 02:17:40 -04:00
Roberto Rosario
f4d3767b15
PEP8 cleanup, remove unused imports, fix permission check when removing metadata from a document
2015-01-26 19:17:35 -04:00
Roberto Rosario
d59ea3ede2
Add from __future__ import unicode_literals, issue #37
2015-01-19 04:06:40 -04:00
Roberto Rosario
6d3cd9753d
Rename property permissions_required to view_permission of ViewPermissionCheckMixin
2015-01-12 18:33:31 -04:00
Roberto Rosario
2c2dfa88cc
Issue #84 , Remove template context variable 'object_name' to improve ease of translation
2014-10-28 02:36:43 -04:00
Roberto Rosario
a728690335
Issue #56 , #97 , Make multi item links a drop down list of actions, remove unused code
2014-10-27 16:26:13 -04:00
Roberto Rosario
71e8502614
Remove confirmation template's form icon
2014-10-25 02:21:44 -04:00
Roberto Rosario
8bac1525be
PEP8 cleanups
2014-10-08 19:39:16 -04:00
Roberto Rosario
c664dd7113
Issue #56 , Start addressing issue #40 (document, permissions, sources, tags and user_management apps)
2014-10-02 17:33:56 -04:00
Roberto Rosario
74cf4c413f
Import cleanups, reorganization, PEP8 cleanups
2014-10-02 02:01:08 -04:00
Roberto Rosario
06dd1b3368
Issue #39 , Explicitly captalize string now that they are not capitalized blindly by the templates
2014-10-02 01:17:27 -04:00
Roberto Rosario
76b2cdefcc
Move app url namespaces updates
2014-09-06 16:30:12 -04:00
Roberto Rosario
b42e9badf6
Move common templates to apps/main/templates/main/*
2014-08-26 02:44:49 -04:00