Please login or register to participate.
.
 
Rating
+9
Last discussed by sulabh
Jun 05, 2014 03:50 PM
Rating
+2
Last discussed by macagua
May 31, 2014 09:52 PM
Rating
0
Last workflowed by siteadmin
Apr 15, 2014 11:37 AM
Rating
+10
Last discussed by glenworrall
Jan 31, 2014 06:51 AM
+

brenternet I noticed that when creating a group a user account is also created that resides in the People Directory as well. Is there any way to hide this? Secondly, I have also noticed that when I attempt to remove a group I receive an error.

Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module Products.CMFFormController.FSControllerPageTemplate, line 90, in __call__
  Module Products.CMFFormController.BaseControllerPageTemplate, line 28, in _call
  Module Products.CMFFormController.ControllerBase, line 231, in getNext
  Module Products.CMFFormController.Actions.TraverseTo, line 38, in __call__
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module Products.CMFFormController.FSControllerPythonScript, line 104, in __call__
  Module Products.CMFFormController.Script, line 145, in __call__
  Module Products.CMFCore.FSPythonScript, line 140, in __call__
  Module Shared.DC.Scripts.Bindings, line 313, in __call__
  Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
  Module Products.CMFCore.FSPythonScript, line 196, in _exec
  Module None, line 19, in prefs_group_modify
   - <FSControllerPythonScript at /cynin/prefs_group_modify>
   - Line 19
  Module <string>, line 7, in _facade
  Module AccessControl.requestmethod, line 64, in _curried
  Module Products.PlonePAS.tools.groups, line 169, in removeGroups
  Module <string>, line 5, in _facade
  Module AccessControl.requestmethod, line 64, in _curried
  Module Products.PlonePAS.tools.groups, line 146, in removeGroup
  Module <string>, line 5, in _facade
  Module AccessControl.requestmethod, line 64, in _curried
  Module Products.PlonePAS.tools.groups, line 146, in removeGroup
  Module Products.PlonePAS.plugins.group, line 77, in removeGroup
  Module Products.PluggableAuthService.plugins.ZODBGroupManager, line 209, in removeGroup
  Module Products.PlonePAS.plugins.group, line 87, in removePrincipalFromGroup
  Module <string>, line 12, in _facade
  Module AccessControl.requestmethod, line 64, in _curried
  Module Products.PluggableAuthService.plugins.ZODBGroupManager, line 301, in removePrincipalFromGroup
KeyError: 'enterpriseApplications'

Update: Is this information stored in Zope source_groups? Zope source_users lists all of my users so I would assume so. However, when I attempt to view source_groups I receive the below error.

Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module Shared.DC.Scripts.Bindings, line 313, in __call__
  Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
  Module Products.PageTemplates.PageTemplateFile, line 129, in _exec
  Module Products.CacheSetup.patch_cmf, line 74, in PT_pt_render
  Module Products.CacheSetup.patch_utils, line 9, in call_pattern
  Module Products.PageTemplates.PageTemplate, line 98, in pt_render
  Module zope.pagetemplate.pagetemplate, line 117, in pt_render
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 536, in do_optTag_tal
  Module zope.tal.talinterpreter, line 521, in do_optTag
  Module zope.tal.talinterpreter, line 516, in no_tag
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 855, in do_condition
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 824, in do_loop_tal
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 623, in do_insertText_tal
  Module Products.PageTemplates.Expressions, line 230, in evaluateText
  Module zope.tales.tales, line 696, in evaluate
   - URL: manage_groups
   - Line 55, Column 4
   - Expression: <PythonExpr ','.join( [x[1] for x in here.listAssignedPrincipals(info['id'])] )>
   - Names:
      {'container': <GroupManager at /cynin/acl_users/source_groups>,
       'context': <GroupManager at /cynin/acl_users/source_groups>,
       'default': <object object at 0xb7d99528>,
       'here': <GroupManager at /cynin/acl_users/source_groups>,
       'loop': {'info': <Products.PageTemplates.Expressions.PathIterator object at 0x1a0ee36c>},
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x15d4edcc>,
       'request': <HTTPRequest, URL=http://ksotvcyn01:8080/cynin/acl_users/source_groups/manage_groups>,
       'root': <Application at >,
       'template': <PageTemplateFile at /cynin/acl_users/source_groups/manage_groups>,
       'user': <PloneUser 'brent.admin'>}
  Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
   - __traceback_info__: ','.join( [x[1] for x in here.listAssignedPrincipals(info['id'])] )
  Module PythonExpr, line 1, in <expression>
  Module Products.PluggableAuthService.plugins.ZODBGroupManager, line 257, in listAssignedPrincipals
AssertionError

Rating
0
Last discussed by juliom
Jan 16, 2014 09:32 PM
Rating
+16
Last discussed by juliom
Jan 16, 2014 03:32 AM
Rating
+2
Last discussed by deixadilson
Nov 28, 2013 01:15 PM
Rating
+2
Last discussed by doshi
Nov 27, 2013 12:44 PM
Rating
0
Last workflowed by viraf
Nov 26, 2013 11:11 AM
Rating
0
Last workflowed by viraf
Nov 26, 2013 11:11 AM
Rating
0
Last workflowed by viraf
Nov 26, 2013 11:11 AM
Rating
0
Last workflowed by viraf
Nov 26, 2013 11:11 AM
Rating
0
Last workflowed by viraf
Nov 26, 2013 11:11 AM
Rating
0
Last workflowed by viraf
Nov 26, 2013 11:11 AM
Rating
0
Last workflowed by viraf
Nov 26, 2013 11:11 AM
 
Loading