"User" object type

Dear openBIS developers,
during my data modeling attempts, I noticed something interesting.
In many cases, we need to create a PERSON or USER object type to track the responsibility or the role of person that aren’t directly the persons creating or updating an object.
Since openBIS has an internal User entity tracked in the AS, it would be very convenient if every users would be exposed (reified) in the openBIS type system as a specific object type which could be referenced in data models.

What do you think?

Best
Simone

Hi SImone,

I discussed with Juan. This is a very good idea, but unfortunately at the moment and in the near future we will not have resources to work on this.

Best,

Caterina

Perhaps I could implement a proof-of-concept using an interceptor plugin checking any user creation/modification.
It won’t be as integrated as a base type but it could serve as an example.
What do you think?
Best
Simone

I honestly think it only makes sense as a type, and as you are at it. Let’s include also a foreign key to Types too. So you can have both pointers to Users and Types.

Is not that you need to do everything, but at the very least an implementation of the DB and API layer would be great. We could then add them to the Admin UI and ELN UI.

So if anyone feels like working on it we would be grateful.

Doing the DB and API layers for creation and update is not particularly difficult and teaches the layers of the system, is what we would call a very nice introductory task if anyone would like to do it.

Hello Juan,with “Type” you mean “Datatype”?
Simone

Yes, what I mean with type on my first line is DataType.

So we would need:
DataType.USER
DataType.SAMPLE_TYPE

Best,
Juan

1 Like