bug fix: issue #15: allow module permissions to work with plugin
bug fix: issue #15: plugin module permissions