Boa tarde, Pessoal estou fazendo um teste aqui com roles, criei uma role global de nome: administrador e criei uma área admin(folder). Tento setar para o index_html a permissão View para Role administrador. Está aparecendo o seguinte erro:
-------------------------------------------------------------------------------- Site Error An error was encountered while publishing this resource. AttributeError Sorry, a site error occurred. Traceback (innermost last): Module ZPublisher.Publish, line 202, in publish_module_standard Module ZPublisher.Publish, line 150, in publish Module Zope2.App.startup, line 221, in zpublisher_exception_hook Module ZPublisher.Publish, line 119, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 42, in call_object Module AccessControl.Role, line 209, in manage_access Module Shared.DC.Scripts.Bindings, line 313, in __call__ Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec Module App.special_dtml, line 178, in _exec Module Shared.DC.Scripts.Bindings, line 327, in __render_with_namespace__ Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec Module App.special_dtml, line 178, in _exec Module DocumentTemplate.DT_Util, line 196, in eval __traceback_info__: RESPONSE Module <string>, line 0, in ? AttributeError: 'NoneType' object has no attribute 'setHeader' (Also, the following error occurred while attempting to render the standard error message, please see the event log for full details: You are not allowed to access 'title_or_id' in this context) Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the error log. If the error persists please contact the site maintainer. Thank you for your patience. -------------------------------------------------------------------------------- Desde já agradeço atenção de todos. Mateus Zenaide Henriques [http://matzen.objectis.net] [http://construirsites.com.br] -- You Rock! Your E-Mail Should Too! Signup Now at Rock.com and get 250MB of Storage! http://webmail.rock.com/signup/