c-lab view now requires c-lab-cey group
This commit is contained in:
parent
643305886d
commit
1f75194fad
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ def gastropin(request):
|
|||
|
||||
@login_required
|
||||
def clabpin(request):
|
||||
if request.user.groups.filter(name='ldap_admins').count() == 0:
|
||||
if request.user.groups.filter(name='cey-c-lab').count() == 0:
|
||||
return render(request, 'access_denied.html')
|
||||
|
||||
def calculate_clab_hash(pin):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue