fix missing permission declaration
js resources already injected via portal_js no need to pull them into the form too
template expects an iterable (also returning False breaks chameleon since it cannot iterate over a bool)
cleaup
Merge pull request #1 from simahawk/master

some minor fixing / cleanup