mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Added some documentation to cronjobs for sso
This commit is contained in:
@@ -6,7 +6,8 @@ from sso.models import ServiceAccount
|
||||
|
||||
class RemoveInvalidUsers():
|
||||
"""
|
||||
Cycles through all users, check if their permissions are correct.
|
||||
Cycles through all users and runs the permission checking routine for
|
||||
each profile.
|
||||
"""
|
||||
|
||||
# run every 2 hours
|
||||
@@ -25,7 +26,8 @@ class RemoveInvalidUsers():
|
||||
|
||||
class ValidateDisabledUsers():
|
||||
"""
|
||||
Cycles through all users, check if their permissions are correct.
|
||||
Cycles through all users, and disables any Service Account of disabled
|
||||
users.
|
||||
"""
|
||||
|
||||
# run daily
|
||||
|
||||
Reference in New Issue
Block a user