Commit graph

57 commits

Author SHA1 Message Date
Anand Doshi
0f00c63801 [major fix] Restrict apply user permissions if user permissions list if empty. Fixes frappe/erpnext#3194 2015-09-07 14:58:53 +05:30
Anand Doshi
7b1bf1d60c [minor] added comment 2015-09-02 15:05:10 +05:30
Anand Doshi
ef961a091f permissions.get_role_permissions: resolving conflict between Apply User Permissions and If Owner
Case 1:
If atleast one record having both Apply User Permission and If Owner unchecked is found, don't match for those rights

Case 2:
If one row has only "Apply User Permissions" checked and another has only "If Owner" checked,
set Apply User Permissions as checked
2015-09-02 13:31:37 +05:30
Anand Doshi
bcafb56432 [fix] Added Share in Role Permissions Manager. Validate Share permission before adding/updating share 2015-08-04 15:47:59 +05:30
Anand Doshi
f2d3a6ef9b Implemented 'If Owner' in Role Permissions 2015-07-24 12:17:30 +05:30
Anand Doshi
d70968dbc5 [feature] Share with Everyone 2015-07-17 19:41:32 +05:30
Nabin Hait
6d7c1da29e [perms] allow email/print if has read access via share 2015-06-09 14:57:25 +05:30
Rushabh Mehta
3fb635532f [fixes] test case, send to sender if in recipients, undefined in notes, permission test case fix, remove guest permission from blog post 2015-04-29 11:21:13 +05:30
Rushabh Mehta
3182e9ab5b [fix] shared 2015-04-28 19:24:30 +05:30
Rushabh Mehta
99c55650cf [perm] fixes for user permissions 2015-04-14 15:53:55 +05:30
Anand Doshi
05fe53c404 Merge remote-tracking branch 'frappe/v4.x.x' into develop
Conflicts:
	frappe/__version__.py
	frappe/core/doctype/comment/comment.py
	frappe/hooks.py
	frappe/model/db_query.py
	frappe/print/doctype/print_format/print_format.py
	frappe/utils/__init__.py
	requirements.txt
	setup.py
2015-04-06 12:05:50 +05:30
Anand Doshi
38dc29120a Fixed User Permissions for listing and report 2015-03-23 15:25:24 +05:30
Nabin Hait
e6358065ba Merged develop into v5 2015-03-17 10:57:01 +05:30
Anand Doshi
5ae047c82f [fix] user permission doctypes should be collated per perm type 2015-03-16 15:53:41 +05:30
Anand Doshi
2995f02f3b Web Notes to Frappe, better alerts, css fixes, fixed splash 2015-03-03 15:09:34 +05:30
Rushabh Mehta
3de9225a3a [fixes] for share frappe/erpnext#2859 2015-03-02 18:07:51 +05:30
Rushabh Mehta
7cad548270 [tests] 2015-02-21 22:37:35 +05:30
Rushabh Mehta
756af9af97 [share] completes #992 2015-02-05 17:26:23 +05:30
Rushabh Mehta
4310b20679 [sharing] added ui-wip 2015-02-04 18:27:42 +05:30
Rushabh Mehta
8cde7bfc23 [print] tables & [feature] share #992 2015-02-04 17:01:46 +05:30
Rushabh Mehta
812a969c54 [welcome] redis, refactored cache and notification count 2014-12-26 12:50:45 +05:30
Rushabh Mehta
925543e619 [fix] reset_perms 2014-11-26 12:33:00 +05:30
Anand Doshi
ea8b7c9934 [fixes] Permission 2014-09-05 15:14:07 +05:30
Anand Doshi
f233760081 User Permission DocTypes: Apply OR logic when multiple applicable roles have different sets of User Permission DocTypes 2014-08-29 11:45:20 +05:30
Anand Doshi
e01a0600f1 Handle conflicting User Permission DocTypes and DocPerm translations 2014-08-27 14:52:06 +05:30
Anand Doshi
6611c12662 Select Document Types for applying User Permissions 2014-08-26 19:33:58 +05:30
Anand Doshi
1d291a6af6 [minor] frappe.permissions.apply_user_permissions - Check if apply_user_permissions is checked for a doctype, perm type, user combination 2014-07-25 14:56:52 +05:30
Anand Doshi
fc91ee8512 Minor fixes 2014-07-07 16:17:24 +05:30
Anand Doshi
709734d3ac Enable Outgoing Email Settings, Message optional in Add User Permission 2014-07-04 15:41:50 +05:30
Rushabh Mehta
a1a9ae0ed6 bugfixes for permission, fixes frappe/erpnext#1855 2014-06-30 16:53:07 +05:30
Anand Doshi
16073efa61 hotfix in permission 2014-06-24 16:32:25 +05:30
Anand Doshi
0eb5e8120f Fixes for apply user permissions and momentjs 2014-06-04 18:12:57 +05:30
Anand Doshi
2b2a608bab Apply User Permissions optional in script and query report, option to pass user in has_permission 2014-06-04 17:54:43 +05:30
Anand Doshi
11259e8eaa Role and User Permissions 2014-06-04 17:52:50 +05:30
Anand Doshi
a57842e32b Role and User Permissions 2014-06-04 17:52:50 +05:30
Anand Doshi
82d2a2fda1 Permission relogication continued 2014-06-04 17:52:49 +05:30
Anand Doshi
fec15666f4 Started permission relogication 2014-06-04 17:52:17 +05:30
Anand Doshi
98ad3c41b4 Fixes in Print, Test Cases, Permissions 2014-05-05 16:41:16 +05:30
Anand Doshi
3394c82e5f Calendar bug, show workflow buttons only if active workflow exists. Fixes frappe/erpnext#1550 2014-05-02 18:01:38 +05:30
Rushabh Mehta
343330fe6b hooks.txt -> hooks.py 2014-05-02 12:18:12 +05:30
Anand Doshi
cded652e9e Check permission on client side form actions like Save, Submit etc. and also while creating buttons for these actions 2014-04-30 15:02:47 +05:30
Rushabh Mehta
246a2a84fb fixed strings for translation 2014-04-15 14:40:00 +05:30
Rushabh Mehta
8c8aade939 #478, bugfix permissions 2014-04-08 11:58:33 +05:30
Anand Doshi
9d5dd1e55f Optimised init_valid_columns, permission check on doc #478 2014-04-07 18:50:37 +05:30
Rushabh Mehta
efa987dfb1 frappe/frappe#478 fixes 2014-04-03 17:43:08 +05:30
Rushabh Mehta
2e8784c72a frappe/frappe#478, more changes, removed bean 2014-04-03 14:38:23 +05:30
Rushabh Mehta
5d4e39bef6 frappe/frappe#478, more changes, removed bean 2014-04-03 14:30:49 +05:30
Rushabh Mehta
7bef30b270 frappe/frappe#478 2014-03-28 16:52:23 +05:30
Anand Doshi
5b9331ccc2 Fixed Permissions Meta issues and DateTime 2014-03-25 19:58:39 +05:30
Rushabh Mehta
bcc2dc99f4 fix #478 2014-03-25 18:38:31 +05:30