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).

hasPerm = function(label) {
  return (-1 != CY.Array.indexOf(sv_user_permissions, label)) ; 
}