src/cm/media/js/client/c_permissions.js
author gibus
Mon, 21 May 2012 16:50:42 +0200
changeset 439 8994d24e4b2f
parent 341 053551f213fb
permissions -rw-r--r--
Reverts to changeset 435, and just add {% csrf_token %} to template forgot_pw.html, since CSRF protection seems to be only here (surely because of django.contrib.auth.views).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     1
hasPerm = function(label) {
341
053551f213fb Coding style for js: expand tabs
gibus
parents: 0
diff changeset
     2
  return (-1 != CY.Array.indexOf(sv_user_permissions, label)) ; 
0
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     3
}