Implement creation/cleaning of permissions.
Start adding control flags to protect the deletion of features.