A class has been declared protected, but its subObjects are still exposed?
Hi, I have a folder class extends from ObjectManager, and is declared protected as in: security = ClassSecurityInfo() security.declareObjectProtected('View') I also deprive anonymous user the permission of 'View' in the security setting of this folder(an instance of my class). All immediate methods are protected, but the subObjects contained within are still exposed to anonymous. I put those two lines in the subObject class, doesn't help either. What's missing? Cheers Dirksen __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/
Dirksen writes:
I have a folder class extends from ObjectManager, and is declared protected as in: security = ClassSecurityInfo() security.declareObjectProtected('View')
I also deprive anonymous user the permission of 'View' in the security setting of this folder(an instance of my class). All immediate methods are protected, but the subObjects contained within are still exposed to anonymous. That is to be expected:
They probably have there own protection declarations.
I put those two lines in the subObject class, doesn't help either. What's missing? That's strange.
Dieter
participants (2)
-
Dieter Maurer -
Dirksen