forked from AmericanResearchInstitute/poweru-server
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Finish Implementing Credential Expiration #153
Milestone
Comments
jc0n
added a commit
that referenced
this issue
Apr 14, 2012
- Allow setting all parameters when creating CredentialType
Merged
jc0n
added a commit
that referenced
this issue
Apr 14, 2012
mhrivnak
added a commit
that referenced
this issue
Apr 17, 2012
…ime to actually mark the credential as granted. This commit adds that.
mhrivnak
added a commit
that referenced
this issue
Apr 17, 2012
…alue was too large, following our switch to storing duration in days instead of seconds. The tests probably passed with sqlite since it doesn't have a smallint.
mhrivnak
added a commit
that referenced
this issue
Apr 18, 2012
… the Setter class. Previously it was just being lazy by adding a required attribute to the optional attributes dict and having setter do the work. This had a nasty side effect of making the RPC log entry look like the client passed 'credential_type' as an optional attribute.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CredentialType needs a new attribute named something like "duration". When a credential is created, its expiration date should be set that far into the future.
Furthermore, we need a new restriction: when checking for completion of a CredentialType, all required achievements must have been completed no more than
duration
ago. So if the duration is 1 year, it will:Lastly, we need a daily task to be run by celery that looks for 'granted' credentials that should be set to expired and does so.
The text was updated successfully, but these errors were encountered: