[BREAKING] Changed permissions check order
Refactor plugin.yml
Revert "Refactor plugin.yml"

This reverts commit a53d40605a2a8f4ad214f5b6ea33332a650c231e.
Revert "[BREAKING] Changed permissions check order"

This reverts commit bb4d61cf60fa56d4f33cfe1eaabe6b81f8c0791a.