Mercurial > gemma
diff auth/session.go @ 230:8a226dc1c6ff
Made auth.Role variadic to allow to express that a endpoint may be used by more than one role.
auth.HasRole already had this ability but I forgot to pull it through.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 26 Jul 2018 13:39:59 +0200 |
parents | f345edb409b2 |
children | a7b2db8b3d18 |