Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Fernando Almeida
1
Views
2
Comments
User System Entity
Question
Hello All,
I'm bilding a way to filter the Projects by the User that has permissions to see it. For that i need another user attribute.
Is it possible to add attributes to the User system entity?
Thanks,
Fernando
António Melo
Hi Fernando
The short answer is No, the User entity is a System entity so it can't be changed.
But if I understood the requirement, it seems to me that what you need is another entity that defines which users have access to which projects. This is also known as a Many to Many relationship, as 1 User may 'have' many Projects and 1 Project may also 'belong' to many Users.
Usually, this is achieved with another entity with two attributes (that identifies both the User and Project entities).
You could define a new entity named Project_Users with attributes
Project_Id (of "Project Identifier" type)
User_Id (of "User Identifier" type)
In this entity you may also add extra needed information for the relationship definition, for example if the user is the project owner or if she/he may only view the project but not change it, etc.
Regards,
António Melo
1 reply
07 Feb 2007
Show thread
Hide thread
Fernando Almeida
Thanks António, works as well.
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...