Open krakazyabra opened 4 years ago
cc @nextcloud/server-triage is this feasible?
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.
/reopen
Hi, I'm also needing this functionality in the API. If there is interest from the maintainers and I could get some guidance, I'd be willing to implement this myself. Shouldn't be too complicated, right? Thanks!
If there is interest from the maintainers and I could get some guidance, I'd be willing to implement this myself. Shouldn't be too complicated, right?
Of course, please go ahead :)
@dabch: did it work? that would be great.
I haven't been able to spend any time on this issue and probably won't in the future. Sorry!
Some thoughts discussing with the Files team:
cc @come-nc maybe you can provide more examples so we can refine the scope
cc @AndyScherzinger @marcoambrosini
@krakazyabra @AndyScherzinger, since depending on the way users login, we might not have a "creation date" per se, what we propose to do:
Backend part
Frontned
Ref for LDAP: https://datatracker.ietf.org/doc/html/rfc4512#section-3.4 (createTimestamp)
we can't always show the created-date for example if it is an LDAP user
Then would it make sense to just show first login
for everyone instead of first created
?
Hi!
I'm following this issue in the context of developing a SCIM service provider as a Nextcloud application. (There is a link in the README to this issue :) )
SCIM, for those who don't know, is interesting in the context of using an SSO (SAML or OIdC), without ldap, to be able to sync user and group events (create, read, update, delete) from Id provider (SCIM client) (in our case keycloak), to a service provider (in our case Nc).
If you read the RFC page 17, it states that:
the attributes "id" and "meta" (and its associated sub-attributes) MUST be assigned values by the service provider.
...
meta.created: The "DateTime" that the resource was added to the service provider. This attribute MUST be a DateTime.
So in our case, we'd like to have the user creation date in Nextcloud registered in database somewhere. The Id provider creation date, is the responsibility of the Id provider.
Hope it helps to give context why and how this feature would be useful for us.
@pierreozoux It’s unexpected to me that your application is not defining a user backend. If we add a user creation info, it will be managed by the user backend. The database backend will store it in database but other backends will fetch it elsewhere, or not provide it at all if it’s not known.
How to use GitHub
Is your feature request related to a problem? Please describe. Hi! It will be nice to see in
occ user:info
the date and time, when user was created. For now there is only last_seen value. But sometimes there is need to know also the creation date.Describe the solution you'd like Add to
occ user:info
new key with creation date and timeDescribe alternatives you've considered To have this information in interface in /settings/users
EDIT: