Read permission based on owner

Hi

We have multiple purchase users who are making their POs,

Purchase user 1 can submit the PO created by Purchase User 2.

Is there any way in which we can restrict Purchase User 2 from submitting PO created by Purchase User 1.
What I mean here is, that only the owner should be able to submit the PO, other users can just read it.

Thanks in advance for your help.

Rasika


  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/1c7c6ad9-c8ec-42c9-aaba-8737796825d5%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.


On 28-Sep-2014, at 2:00 am, Rasika Dhingra <ra...@gmail.com> wrote:

Hi

We have multiple purchase users who are making their POs,

Purchase user 1 can submit the PO created by Purchase User 2.

Is there any way in which we can restrict Purchase User 2 from submitting PO created by Purchase User 1.
What I mean here is, that only the owner should be able to submit the PO, other users can just read it.

I don't think that is available out of the box right now.


Thanks in advance for your help.

Rasika


  1. Please be kind and don’t send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/1c7c6ad9-c8ec-42c9-aaba-8737796825d5%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.


  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/FEE448C5-A3EE-4C2E-AEF6-42EB5045F811%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.

Try this:

- create a custom field with label “Owner”, type “Link”, option “User” and check “Read Only”.
- role permissions should be, Purchase User with only read access. Then create a new role say “Purchase Owner” and give read, write, submit etc with Apply User Permissions checked. Also click “Select Doctypes” link below Apply User Permissions and only check “User”

- Anand.

On Monday, September 29, 2014, Rushabh Mehta <rm…@gmail.com> wrote:



On 28-Sep-2014, at 2:00 am, Rasika Dhingra <ra…@gmail.com> wrote:

Hi

We have multiple purchase users who are making their POs,

Purchase user 1 can submit the PO created by Purchase User 2.

Is there any way in which we can restrict Purchase User 2 from submitting PO created by Purchase User 1.
What I mean here is, that only the owner should be able to submit the PO, other users can just read it.

I don’t think that is available out of the box right now.


Thanks in advance for your help.

Rasika


  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/1c7c6ad9-c8ec-42c9-aaba-8737796825d5%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.


  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/FEE448C5-A3EE-4C2E-AEF6-42EB5045F811%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.


  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/CAAQzbF2391QuAt1O90D5-FPixhdj%3Ds%2BZUBS%3Ddf4PxgCZ%3DfWLhw%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.
1 Like

Hi Anand

I tried the steps you mentioned, it does not work.

The basic idea / requirement is that, there are multiple users and all of them would be making different documents like quotations / POs / Sales order and so on. As of now one user can see as well as edit and submit any document created by other users.

I think the software should restrict this. It should allow users to only read other users’s documents and not edit or submit it. This is particularly important in case of quotations etc.

Please suggest.

Thanks
Rasika

You can restrict submit rights to some users only.

Since the system will note the last edited / submitted user, there is enough incentive not to mess up with the data.