mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Fix Blacklist button for HR Staff
This commit is contained in:
@@ -286,7 +286,7 @@ def accept_application(request, applicationid):
|
||||
|
||||
def blacklist_user(request, userid):
|
||||
|
||||
if request.user.has_perm('hr.can_add_blacklist'):
|
||||
if request.user.has_perm('hr.add_blacklist'):
|
||||
|
||||
u = get_object_or_404(User, id=userid)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user