Hi There,
In version 3, we were able to use condition to define permission. For example, in version 3, one can add a Read permission on Employee doctype for "Department Head" role with condition "Department in Employee matches User Property department." This gives department head read access over for all employees from the same department. When a new employee gets added to the same department, the department head automatically able to see this new employee. How do you achieve the same in version 4?
--
Kind regards,
Mayur Patel
You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-fo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/f982330b-c2fc-4435-a38a-0ce0532f28a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@rushabh_mehtavia mobileHi There,
In version 3, we were able to use condition to define permission. For example, in version 3, one can add a Read permission on Employee doctype for "Department Head" role with condition "Department in Employee matches User Property department." This gives department head read access over for all employees from the same department. When a new employee gets added to the same department, the department head automatically able to see this new employee. How do you achieve the same in version 4?Pretty much the same way. In version 4 user property is "user permission".You also have to check "apply user permissions" where you want the rules to apply. For eg in leave application.
--
Kind regards,
Mayur Patel
You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-fo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/75eb69bd-ffca-4703-98f0-83e10e71f9e3%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-fo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/75eb69bd-ffca-4703-98f0-83e10e71f9e3%40googlegroups.com.
Also we notice that in version 3, Alison has only one record for employee property type. but in version 4, there are multiple records for Employee user permission. Why is this?
Kind regards,
Mayur Patel--
You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-fo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/7fd75db2-d4dc-4005-91a5-83b62c4de12a%40googlegroups.com.
On the department field, for the Role PO User, check "Ignore User Permissions"
--
You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-fo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/072103d8-7711-4792-9fb2-ab6e58fbb0a2%40googlegroups.com.
Kind regards,
Mayur Patel--
You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-fo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/f55a6fa7-7fdb-4195-b143-f2f4aedf4e37%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-fo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/efaab303-54bc-48e7-85e4-b199165c6546%40googlegroups.com.
On 22-Aug-2014, at 3:42 pm, Mayur Patel <mayur....@gmail.com> wrote:Hi Again,
I think one option may be to check "Ignore User Permissions" for Department field for Purchase Order doctype. right?
Could you please still answer 2nd question? see below.
we notice that in version 3, Alison has only one record for employee property type. but in version 4, there are multiple records for Employee user permission. Why is this?Are they any different. Please raise a GH issue for this.
Kind regards,
Mayur Patel--
You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-fo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/d5bae375-c3a2-4aff-830f-34ec389fb3d0%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/5F69A96C-F75F-4965-8F80-DE60E7E7B1BB%40iwebnotes.com.
From: Anand Doshi Sent: Friday, August 22, 2014 12:52 PM Reply To: erpnext-u...@googlegroups.com Subject: Re: [erpnext-user-forum] Permission in Version 4 |
From: Rushabh Mehta Sent: Friday, August 22, 2014 1:52 PM |
Subject: Re: [erpnext-user-forum] Permission in Version 4 |
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/20140822131646.5378180.88841.9698%40xavierltd.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/20140822131646.5378180.88841.9698%40xavierltd.com.
From: Rushabh Mehta Sent: Saturday, August 23, 2014 5:04 AM |
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/20140823124142.5378180.86740.9728%40xavierltd.com.
From: Rushabh Mehta Sent: Monday, August 25, 2014 6:56 AM |
--
You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-fo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/c8e8f0d8-2db0-492e-9c88-bb9fedab687f%40googlegroups.com.
From: Anand Doshi Sent: Tuesday, August 26, 2014 3:10 PM To: ERPNext User's Forum |
Reply To: erpnext-u...@googlegroups.com Subject: Re: [erpnext-user-forum] Permission in Version 4 |
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/20140826154457.5378180.69660.9829%40xavierltd.com.
From https://github.com/frappe/erpnext
* branch HEAD -> FETCH_HEAD
Updating 79f9110..ec8964d
error: Your local changes to the following files would be overwritten by merge:
erpnext/hr/doctype/employee/employee.json
Please, commit your changes or stash them before you can merge.
Aborting
Error: None
Traceback (most recent call last):
File "/usr/local/bin/bench", line 9, in <module>
load_entry_point('bench==0.1', 'console_scripts', 'bench')()
File "/var/www/bench-repo/bench/cli.py", line 27, in cli
return bench()
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 488, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 474, in main
self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 758, in invoke
return self.invoke_subcommand(ctx, cmd, cmd_name, ctx.args[1:])
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 767, in invoke_subcommand
return cmd.invoke(cmd_ctx)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 659, in invoke
ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 325, in invoke
return callback(*args, **kwargs)
File "/var/www/bench-repo/bench/cli.py", line 107, in update
pull_all_apps()
File "/var/www/bench-repo/bench/app.py", line 49, in pull_all_apps
exec_cmd("git pull {rebase} upstream HEAD".format(rebase=rebase), cwd=app_dir)
File "/var/www/bench-repo/bench/utils.py", line 56, in exec_cmd
subprocess.check_call(cmd, cwd=cwd, shell=True)
File "/usr/lib/python2.7/subprocess.py", line 511, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'git pull upstream HEAD' returned non-zero exit status 1
--
You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-fo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/93da4809-780b-4392-a560-4d3940a3d174%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-fo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/b89bd60e-d154-4dad-a626-7e81d169b835%40googlegroups.com.