Permissions service + tests; security key generation; role repo; repo tests