mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-17 03:39:25 +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():
|
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
|
# run every 2 hours
|
||||||
@@ -25,7 +26,8 @@ class RemoveInvalidUsers():
|
|||||||
|
|
||||||
class ValidateDisabledUsers():
|
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
|
# run daily
|
||||||
|
|||||||
Reference in New Issue
Block a user