Hi Wipster, are you just looking to add basic permissions to a Repository Object plugin?
In your Main GUI class you can add $this->addPermissionTab();
Doing that should add the permissions tab to your Repo Object and you'll be able to properly set permissions.