message: if user has role admin, don't load permissions as they maybe don't even have a lagoon uid
diff: @@ -39,10 +39,16 @@ const authWithKeycloak = async (req, res, next) => {
  const dao = ctx.dao;
  try {
  + // Admins have full access and don't need a list of permissions
  + if (R.contains('admin', req.kauth.grant.access_token.content.realm_access.roles)) {
  + req.credentials = {
  + role: 'admin',
  + permissions: {},
  + };
  + } else {
  const {
  content: {
  lagoon: { user_id: userId },
  - realm_access: { roles },
  },
  } = req.kauth.grant.access_token;
  @@ -60,12 +66,12 @@ const authWithKeycloak = async (req, res, next) => {
  }
  req.credentials = {
  - role: R.contains('admin', roles) ? 'admin' : 'none',
  + role: 'none',
  userId,
  // Read and write permissions
  permissions,
  };
  -
  + }
  next();
  } catch (e) {
  res.status(403).send({
  