Autogenerated(?) templates require access controls
See SVN https://srv-0.bitbang.nl/svn/vlad/MDSD/calendar rev 3796 for complete code.
The file events/event-notes.app now contains the access rule
rule template templateargument*(*) { true }
which is a work-around for a bug I ran into. Try removing it: the access control will complain:
[java] Access control warning: access to element always denied: template templateargument0(collapsed : Bool n : Note) [java] : [user/system] = [7,64s/0,00s]
Note that we have no such template defined. The only template this could refer to (grepping on ‘collapsed’ over all .app files) is:
define noteView(n : Note, collapsed : Bool){
in the same file. Obviously the access rule
` rule template noteView*(*) {
securityContext.loggedIn
}`
should have been used for that.
Submitted on 24 March 2010 at 11:41
Issue Log
And hurray for markdown for completely screwing up my post. See also my soon-to-be-made post on yellowgrass for a preview button grmbl
Thanks for the report, it should indeed take the check from the template it was lifted from.
Indent code blocks with 4 spaces in markdown, backticks are for code fragments in text.
Looks like I accidentally compiled using an older version of WebDSL. It is already fixed in the latest version.
Log in to post comments