[aida] Tutorial - security rules
Alex Baran
aleksijb at gmail.com
Mon Mar 2 20:24:53 CET 2009
Hello All,
I'm new to AIDA and I have latest version from Cincom public sore repository.
Just tried to write my first Hello World app and found that a
tutorial(http://www.aidaweb.si/tutorial.html) don't mention existence
of security rules.
So my App stumbled at login dialog. Code bellow helped at solving the
issue by allowing HelloWorldApp>>viewMain for all users.
| site rules |
site := AIDASite named: 'aidademo'.
rules := Dictionary new.
rules
at: site securityManager allUsersGroup
put: (IdentitySet with: #viewMain).
site securityManager accessByObject
at: #HelloWorldApp
put: rules
Apologize, if I missed some points, it's my first time with AIDA.
Best regards,
Alex Baran
More information about the Aida
mailing list