Some FunctionBlocks may need more permissions than we allow by default. I think the best way to address this is to annotate the FunctionBlocks somehow (although Java annotations may be annoying, as BCEL doesn't really work with them). Then when deploying we could show the user a list of permissions that are needed per FunctionBlock/Module and (s)he can decide if those should be allowed or not. Kind of like the Android permissions system.