Advancing-the-Blog icon indicating copy to clipboard operation
Advancing-the-Blog copied to clipboard

fixed logical mistake in giving access rights to creating etc

Open noerten opened this issue 9 years ago • 0 comments

in previous version:

if not request.user.is_staff or not request.user.is_superuser: raise Http404

one could get access only if he is an admin. if he is a staff then this part comes to live: if not request.user.is_superuser: raise 404 Coz he isn't admin, then 404

noerten avatar Apr 07 '16 10:04 noerten