Added a uncomplete implementation of a permission repository