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