Title: Re: [FPM-Discuss] Re: User permissions problems
At 7:43 -0600 15-01-2002, Tim Cook wrote:
There are two different places to define Employees.  In order for
an employee to be a Provider they must be defined in the
Providers screen, not the Employees screen.

You should select the following links (from the Main Menu):
Administration,  Employees,  Physicians/Healthcare Providers, Add
New Provider

made, I also cancelled previous users (from the Zope management interface...), and inserted again. By inserting new users as "Nemo", I was able to add a couple of users which now appear to be able at least to see some sections.
However, if I try to add an encounter, at the end a dialog appears asking me for user and password (browser-embedded dialog, realm "zope"). If I insert the same user as I'm logged into FreePM, I obtain the followinf error report (not occurring if I enter nemo and his password):

       
Site Error

An error was encountered while publishing this resource.

Unauthorized
You are not authorized to access EncounterClass.


Traceback (innermost last):
  File /home/informed/zope/lib/python/ZPublisher/Publish.py, line 223, in publish_module
  File /home/informed/zope/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /home/informed/zope/lib/python/ZPublisher/Publish.py, line 171, in publish
  File /home/informed/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: add_encounterProcessor)
  File /home/informed/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object
    (Object: add_encounterProcessor)
  File /home/informed/zope/lib/python/OFS/DTMLMethod.py, line 189, in __call__
    (Object: add_encounterProcessor)
  File /home/informed/zope/lib/python/DocumentTemplate/DT_String.py, line 540, in __call__
    (Object: add_encounterProcessor)
  File /home/informed/zope/lib/python/DocumentTemplate/DT_With.py, line 151, in render
    (Object: manage_addProduct['FreePMProduct'])
  File /home/informed/zope/lib/python/DocumentTemplate/DT_Util.py, line 339, in eval
    (Object: EncounterClass_add(_.None, _, NoRedir=1))
    (Info: _)
  File <string>, line 0, in ?
  File /home/informed/zope/lib/python/OFS/DTMLMethod.py, line 182, in __call__
    (Object: EncounterClass_add)
  File /home/informed/zope/lib/python/DocumentTemplate/DT_String.py, line 540, in __call__
    (Object: EncounterClass_add)
  File /home/informed/zope/lib/python/DocumentTemplate/DT_With.py, line 138, in render
    (Object: EncounterClass.createInObjectManager(REQUEST['id'], REQUEST))
  File /home/informed/zope/lib/python/DocumentTemplate/DT_Util.py, line 333, in eval
    (Object: EncounterClass.createInObjectManager(REQUEST['id'], REQUEST))
    (Info: EncounterClass)
  File /home/informed/zope/lib/python/OFS/DTMLMethod.py, line 261, in validate
    (Object: add_encounterProcessor)
  File /home/informed/zope/lib/python/AccessControl/SecurityManager.py, line 144, in validate
  File /home/informed/zope/lib/python/AccessControl/ZopeSecurityPolicy.py, line 225, in validate
Unauthorized: (see above)

Reply via email to