Roles & Permissions

Hi,

I'm not sure what I did (or didn't) do. but at the moment any user (except 'Administrator') that do not have 'System Manager' role may not access the 'desk' section. secondly, only 'Administrator' account may view /create /edit /del. while user account with the correct role can only del. Is there a way to do a batch restore just for the roles & permissions? 

Note: Anand Doshi, had mention that I may have incomplete upgrade (from v3 -> v4). because our system have both 'User' & 'Profile' module.




Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/d4ca2637-9af2-4ea0-8991-0021bf95deb2%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
You must have set all users to "Website User" - Change them to "System User" (maybe we should call them Desk Users now)


On 02-Aug-2014, at 9:08 am, Nonnatee Kanjana <no...@ps-groups.com> wrote:

Hi,

I'm not sure what I did (or didn't) do. but at the moment any user (except 'Administrator') that do not have 'System Manager' role may not access the 'desk' section. secondly, only 'Administrator' account may view /create /edit /del. while user account with the correct role can only del. Is there a way to do a batch restore just for the roles & permissions? 

Note: Anand Doshi, had mention that I may have incomplete upgrade (from v3 -> v4). because our system have both 'User' & 'Profile' module.





Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/d4ca2637-9af2-4ea0-8991-0021bf95deb2%40googlegroups.com.

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



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/7F9B176C-E6F2-462A-8264-F0CED6897B13%40gmail.com.

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

Thanks for the reply.
Sorry, All user are 'System User'. 

On Saturday, August 2, 2014 1:05:37 PM UTC+7, rushabh wrote:
You must have set all users to "Website User" - Change them to "System User" (maybe we should call them Desk Users now)


On 02-Aug-2014, at 9:08 am, Nonnatee Kanjana <no...@ps-groups.com> wrote:

Hi,

I'm not sure what I did (or didn't) do. but at the moment any user (except 'Administrator') that do not have 'System Manager' role may not access the 'desk' section. secondly, only 'Administrator' account may view /create /edit /del. while user account with the correct role can only del. Is there a way to do a batch restore just for the roles & permissions? 

Note: Anand Doshi, had mention that I may have incomplete upgrade (from v3 -> v4). because our system have both 'User' & 'Profile' module.





Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/d4ca2637-9af2-4ea0-8991-0021bf95deb2%40googlegroups.com.

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



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/95d8aee6-7db1-4a7f-bdb7-22f7ee281cce%40googlegroups.com.

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

Hi Rushabh,


Below is the console trace and snapshot of user properties.

,
  1. POST http://erp.th.ps-groups.com:8000/ 403 (FORBIDDEN) jquery.min.js:4
    1. l.cors.a.crossDomain.sendjquery.min.js:4
    2. o.extend.ajaxjquery.min.js:4
    3. frappe.request.callfrappe.min.js:330
    4. frappe.callfrappe.min.js:326
    5. frappe.Application.Class.extend.load_startupfrappe.min.js:370
    6. frappe.Application.Class.extend.initfrappe.min.js:370
    7. (anonymous function)frappe.min.js:370
    8. k.fireWithjquery.min.js:2
    9. o.extend.readyjquery.min.js:2
2014-08-02 13:22:00.746
  1. XHR finished loading: POST “http://erp.th.ps-groups.com:8000/”. jquery.min.js:4
2014-08-02 13:22:00.752Traceback (innermost last):
File “/home/psgroups/frappe-bench/apps/frappe/frappe/app.py”, line 51, in application
response = frappe.handler.handle()
File “/home/psgroups/frappe-bench/apps/frappe/frappe/handler.py”, line 66, in handle
execute_cmd(cmd)
File “/home/psgroups/frappe-bench/apps/frappe/frappe/handler.py”, line 89, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/psgroups/frappe-bench/apps/frappe/frappe/init.py”, line 527, in call
return fn(*args, **newargs)
File “/home/psgroups/frappe-bench/apps/frappe/frappe/handler.py”, line 15, in startup
frappe.response.update(frappe.sessions.get())
File “/home/psgroups/frappe-bench/apps/frappe/frappe/sessions.py”, line 104, in get
bootinfo = get_bootinfo()
File “/home/psgroups/frappe-bench/apps/frappe/frappe/boot.py”, line 49, in get_bootinfo
add_home_page(bootinfo, doclist)
File “/home/psgroups/frappe-bench/apps/frappe/frappe/boot.py”, line 138, in add_home_page
page = frappe.widgets.page.get(‘desktop’)
File “/home/psgroups/frappe-bench/apps/frappe/frappe/widgets/page.py”, line 19, in get
(page.title or name)
PermissionError: No read permission for Page Desktop
,

plz see the attachment for screen capture.

note: Users Management (read / write / modify) seem to be working again after I ran update just now.

On Saturday, August 2, 2014 1:11:53 PM UTC+7, Nonnatee Kanjana wrote:
Hi,

Thanks for the reply.
Sorry, All user are ‘System User’. 

On Saturday, August 2, 2014 1:05:37 PM UTC+7, rushabh wrote:
You must have set all users to “Website User” - Change them to “System User” (maybe we should call them Desk Users now)


On 02-Aug-2014, at 9:08 am, Nonnatee Kanjana <no...@ps-groups.com> wrote:

Hi,

I'm not sure what I did (or didn't) do. but at the moment any user (except 'Administrator') that do not have 'System Manager' role may not access the 'desk' section. secondly, only 'Administrator' account may view /create /edit /del. while user account with the correct role can only del. Is there a way to do a batch restore just for the roles & permissions? 

Note: Anand Doshi, had mention that I may have incomplete upgrade (from v3 -> v4). because our system have both 'User' & 'Profile' module.





Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/d4ca2637-9af2-4ea0-8991-0021bf95deb2%40googlegroups.com.

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



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/b62a54aa-d3b6-4ca6-a381-3d07c37604dd%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Hi. By any chance, did you add User Permission records for Page doctype?
In the browser's addressbar, paste this after your site URL: /desk#query-report/Permitted Documents For User and check which Page records are accessible for the concerned user.

-Anand.


On Sat, Aug 2, 2014 at 12:04 PM, Nonnatee Kanjana <no...@ps-groups.com> wrote:
Hi Rushabh,

Below is the console trace and snapshot of user properties.

,,,,,,
  1. POST http://erp.th.ps-groups.com:8000/ 403 (FORBIDDEN) jquery.min.js:4
    1. l.cors.a.crossDomain.sendjquery.min.js:4
    2. o.extend.ajaxjquery.min.js:4
    3. frappe.request.callfrappe.min.js:330
    4. frappe.callfrappe.min.js:326
    5. frappe.Application.Class.extend.load_startupfrappe.min.js:370
    6. frappe.Application.Class.extend.initfrappe.min.js:370
    7. (anonymous function)frappe.min.js:370
    8. k.fireWithjquery.min.js:2
    9. o.extend.readyjquery.min.js:2

2014-08-02 13:22:00.746

  1. XHR finished loading: POST “http://erp.th.ps-groups.com:8000/”. jquery.min.js:4

2014-08-02 13:22:00.752Traceback (innermost last):
File “/home/psgroups/frappe-bench/apps/frappe/frappe/app.py”, line 51, in application
response = frappe.handler.handle()
File “/home/psgroups/frappe-bench/apps/frappe/frappe/handler.py”, line 66, in handle
execute_cmd(cmd)
File “/home/psgroups/frappe-bench/apps/frappe/frappe/handler.py”, line 89, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/psgroups/frappe-bench/apps/frappe/frappe/init.py”, line 527, in call
return fn(*args, **newargs)
File “/home/psgroups/frappe-bench/apps/frappe/frappe/handler.py”, line 15, in startup
frappe.response.update(frappe.sessions.get())
File “/home/psgroups/frappe-bench/apps/frappe/frappe/sessions.py”, line 104, in get
bootinfo = get_bootinfo()
File “/home/psgroups/frappe-bench/apps/frappe/frappe/boot.py”, line 49, in get_bootinfo
add_home_page(bootinfo, doclist)
File “/home/psgroups/frappe-bench/apps/frappe/frappe/boot.py”, line 138, in add_home_page
page = frappe.widgets.page.get(‘desktop’)
File “/home/psgroups/frappe-bench/apps/frappe/frappe/widgets/page.py”, line 19, in get
(page.title or name)
PermissionError: No read permission for Page Desktop

,

plz see the attachment for screen capture.

note: Users Management (read / write / modify) seem to be working again after I ran update just now.

On Saturday, August 2, 2014 1:11:53 PM UTC+7, Nonnatee Kanjana wrote:
Hi,

Thanks for the reply.
Sorry, All user are 'System User'.

On Saturday, August 2, 2014 1:05:37 PM UTC+7, rushabh wrote:
You must have set all users to "Website User" - Change them to "System User" (maybe we should call them Desk Users now)



On 02-Aug-2014, at 9:08 am, Nonnatee Kanjana <no…@ps-groups.com> wrote:

Hi,

I’m not sure what I did (or didn’t) do. but at the moment any user (except ‘Administrator’) that do not have ‘System Manager’ role may not access the ‘desk’ section. secondly, only ‘Administrator’ account may view /create /edit /del. while user account with the correct role can only del. Is there a way to do a batch restore just for the roles & permissions?

Note: Anand Doshi, had mention that I may have incomplete upgrade (from v3 -> v4). because our system have both 'User' & 'Profile' module.





Note:



If you are posting an issue,


  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/d4ca2637-9af2-4ea0-8991-0021bf95deb2%40googlegroups.com.

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




Note:



If you are posting an issue,


  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/b62a54aa-d3b6-4ca6-a381-3d07c37604dd%40googlegroups.com.

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



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAAQzbF3QoA9Lfa6B8ey6qOyvah9GjVvw_4EhB2mW56w2P46Q4A%40mail.gmail.com.

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

User without 'System Manager' role cannot access ANY document/page including the 'HOME' screen of the "Desk" section. it seem as if some another permission are over rule the 'Web/System User' permission but cannot over rule 'System manager' permission. 

That is all we know so far. still spent countless hours trying to find the cause of this issue. because this is a major issue for us and current stopping us deploying this project into production atm. 



On Tuesday, August 5, 2014 12:14:58 AM UTC+7, Anand Doshi wrote:
Hi. By any chance, did you add User Permission records for Page doctype?
In the browser's addressbar, paste this after your site URL: /desk#query-report/Permitted Documents For User and check which Page records are accessible for the concerned user.

-Anand.


On Sat, Aug 2, 2014 at 12:04 PM, Nonnatee Kanjana <no...@ps-groups.com> wrote:
Hi Rushabh,

Below is the console trace and snapshot of user properties.

,,,,,,
  1. POST http://erp.th.ps-groups.com:8000/ 403 (FORBIDDEN) jquery.min.js:4
    1. l.cors.a.crossDomain.sendjquery.min.js:4
    2. o.extend.ajaxjquery.min.js:4
    3. frappe.request.callfrappe.min.js:330
    4. frappe.callfrappe.min.js:326
    5. frappe.Application.Class.extend.load_startupfrappe.min.js:370
    6. frappe.Application.Class.extend.initfrappe.min.js:370
    7. (anonymous function)frappe.min.js:370
    8. k.fireWithjquery.min.js:2
    9. o.extend.readyjquery.min.js:2

2014-08-02 13:22:00.746

  1. XHR finished loading: POST “http://erp.th.ps-groups.com:8000/”. jquery.min.js:4

2014-08-02 13:22:00.752Traceback (innermost last):
File “/home/psgroups/frappe-bench/apps/frappe/frappe/app.py”, line 51, in application
response = frappe.handler.handle()
File “/home/psgroups/frappe-bench/apps/frappe/frappe/handler.py”, line 66, in handle
execute_cmd(cmd)
File “/home/psgroups/frappe-bench/apps/frappe/frappe/handler.py”, line 89, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/psgroups/frappe-bench/apps/frappe/frappe/init.py”, line 527, in call
return fn(*args, **newargs)
File “/home/psgroups/frappe-bench/apps/frappe/frappe/handler.py”, line 15, in startup
frappe.response.update(frappe.sessions.get())
File “/home/psgroups/frappe-bench/apps/frappe/frappe/sessions.py”, line 104, in get
bootinfo = get_bootinfo()
File “/home/psgroups/frappe-bench/apps/frappe/frappe/boot.py”, line 49, in get_bootinfo
add_home_page(bootinfo, doclist)
File “/home/psgroups/frappe-bench/apps/frappe/frappe/boot.py”, line 138, in add_home_page
page = frappe.widgets.page.get(‘desktop’)
File “/home/psgroups/frappe-bench/apps/frappe/frappe/widgets/page.py”, line 19, in get
(page.title or name)
PermissionError: No read permission for Page Desktop

,

plz see the attachment for screen capture.

note: Users Management (read / write / modify) seem to be working again after I ran update just now.

On Saturday, August 2, 2014 1:11:53 PM UTC+7, Nonnatee Kanjana wrote:
Hi,

Thanks for the reply.
Sorry, All user are 'System User'. 

On Saturday, August 2, 2014 1:05:37 PM UTC+7, rushabh wrote:
You must have set all users to "Website User" - Change them to "System User" (maybe we should call them Desk Users now)



On 02-Aug-2014, at 9:08 am, Nonnatee Kanjana <no…@ps-groups.com> wrote:

Hi,

I’m not sure what I did (or didn’t) do. but at the moment any user (except ‘Administrator’) that do not have ‘System Manager’ role may not access the ‘desk’ section. secondly, only ‘Administrator’ account may view /create /edit /del. while user account with the correct role can only del. Is there a way to do a batch restore just for the roles & permissions? 

Note: Anand Doshi, had mention that I may have incomplete upgrade (from v3 -> v4). because our system have both 'User' & 'Profile' module.





Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsubscr…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/d4ca2637-9af2-4ea0-8991-0021bf95deb2%40googlegroups.com.

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




Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/b62a54aa-d3b6-4ca6-a381-3d07c37604dd%40googlegroups.com.

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



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/546f3447-c342-4236-9fa3-90561176ca25%40googlegroups.com.

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

You could've customized the Page permissions from Page List, Role Permissions for Page or via User Permissions.

Thanks,
Anand.



On Tue, Aug 5, 2014 at 1:22 PM, Nonnatee Kanjana <no…@ps-groups.com> wrote:
Dear Anand,

User without 'System Manager' role cannot access ANY document/page including the 'HOME' screen of the "Desk" section. it seem as if some another permission are over rule the 'Web/System User' permission but cannot over rule 'System manager' permission.

That is all we know so far. still spent countless hours trying to find the cause of this issue. because this is a major issue for us and current stopping us deploying this project into production atm.



On Tuesday, August 5, 2014 12:14:58 AM UTC+7, Anand Doshi wrote:
Hi. By any chance, did you add User Permission records for Page doctype?
In the browser's addressbar, paste this after your site URL: /desk#query-report/Permitted Documents For User and check which Page records are accessible for the concerned user.

-Anand.


On Sat, Aug 2, 2014 at 12:04 PM, Nonnatee Kanjana <no...@ps-groups.com> wrote:
Hi Rushabh,

Below is the console trace and snapshot of user properties.

,,,,,,
  1. POST http://erp.th.ps-groups.com:8000/ 403 (FORBIDDEN) jquery.min.js:4
    1. l.cors.a.crossDomain.sendjquery.min.js:4
    2. o.extend.ajaxjquery.min.js:4
    3. frappe.request.callfrappe.min.js:330
    4. frappe.callfrappe.min.js:326
    5. frappe.Application.Class.extend.load_startupfrappe.min.js:370
    6. frappe.Application.Class.extend.initfrappe.min.js:370
    7. (anonymous function)frappe.min.js:370
    8. k.fireWithjquery.min.js:2
    9. o.extend.readyjquery.min.js:2

2014-08-02 13:22:00.746

  1. XHR finished loading: POST “http://erp.th.ps-groups.com:8000/”. jquery.min.js:4

2014-08-02 13:22:00.752Traceback (innermost last):
File “/home/psgroups/frappe-bench/apps/frappe/frappe/app.py”, line 51, in application
response = frappe.handler.handle()
File “/home/psgroups/frappe-bench/apps/frappe/frappe/handler.py”, line 66, in handle
execute_cmd(cmd)
File “/home/psgroups/frappe-bench/apps/frappe/frappe/handler.py”, line 89, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/psgroups/frappe-bench/apps/frappe/frappe/init.py”, line 527, in call
return fn(*args, **newargs)
File “/home/psgroups/frappe-bench/apps/frappe/frappe/handler.py”, line 15, in startup
frappe.response.update(frappe.sessions.get())
File “/home/psgroups/frappe-bench/apps/frappe/frappe/sessions.py”, line 104, in get
bootinfo = get_bootinfo()
File “/home/psgroups/frappe-bench/apps/frappe/frappe/boot.py”, line 49, in get_bootinfo
add_home_page(bootinfo, doclist)
File “/home/psgroups/frappe-bench/apps/frappe/frappe/boot.py”, line 138, in add_home_page
page = frappe.widgets.page.get(‘desktop’)
File “/home/psgroups/frappe-bench/apps/frappe/frappe/widgets/page.py”, line 19, in get
(page.title or name)
PermissionError: No read permission for Page Desktop

,

plz see the attachment for screen capture.

note: Users Management (read / write / modify) seem to be working again after I ran update just now.

On Saturday, August 2, 2014 1:11:53 PM UTC+7, Nonnatee Kanjana wrote:
Hi,

Thanks for the reply.
Sorry, All user are 'System User'.

On Saturday, August 2, 2014 1:05:37 PM UTC+7, rushabh wrote:
You must have set all users to "Website User" - Change them to "System User" (maybe we should call them Desk Users now)



On 02-Aug-2014, at 9:08 am, Nonnatee Kanjana <no…@ps-groups.com> wrote:

Hi,

I’m not sure what I did (or didn’t) do. but at the moment any user (except ‘Administrator’) that do not have ‘System Manager’ role may not access the ‘desk’ section. secondly, only ‘Administrator’ account may view /create /edit /del. while user account with the correct role can only del. Is there a way to do a batch restore just for the roles & permissions?

Note: Anand Doshi, had mention that I may have incomplete upgrade (from v3 -> v4). because our system have both 'User' & 'Profile' module.





Note:



If you are posting an issue,


  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsubscr…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/d4ca2637-9af2-4ea0-8991-0021bf95deb2%40googlegroups.com.

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




Note:



If you are posting an issue,


  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/b62a54aa-d3b6-4ca6-a381-3d07c37604dd%40googlegroups.com.

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



Note:



If you are posting an issue,


  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/546f3447-c342-4236-9fa3-90561176ca25%40googlegroups.com.

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



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAAQzbF1QVThJNf1evnX05JGkMzmQAe_3Y–OCUxB5DBMK2t0Ag%40mail.gmail.com.

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