Bug 45207

GemBuilder for Smalltalk/VW

8.2, 8.1, 7.6.1, 7.6

8.3

Creating new user with nil security policy does not work

GemStone/S 64 Bit versions allow a Security Policy (Segment) to be set to nil, to bypass object level security.  Attempting to create a user with a nil default security policy using the User Editor created a new Security Policy with the name 'nil'.

Workaround

If your users have security policies of nil, use GemStone server code to create new users. For example,

 AllUsers addNewUserWithId: 'john_smith' password: 'swordfish'

or

 AllUsers
   addNewUserWithId: 'john_smith'
   password: 'swordfish'
   defaultObjectSecurityPolicy: nil
   privileges: (Array new)
   inGroups: (Array with: 'DataCuratorGroup')


                

Last updated: 7/13/16