gate-sso / gate

Gate is MFA Enabled SSO Platform that supports SAML, OAuth, Linux shell login and CAS
https://gate-sso.github.io
MIT License
203 stars 53 forks source link

Group membership with expiration date #155

Closed walbertus closed 5 years ago

walbertus commented 5 years ago

Admin can add a user to group with an expiration date. When the membership expired, user is not considered as part of the group.

@giosakti

giosakti commented 5 years ago

See my comments above. what you can do now is create a task in this file lib/tasks/users.rake then try using whenever gem to setup periodic cron to run the task.