Jump to content
  • 0

Restrict Data in View by Field in User Table


JosephBaxter

Question

So, here's what I'm trying to do:

  1. I have a table of Organizations with unique IDs.
  2. I have a table of Users (from Authentications) with an added field for a relationship with the Organization ID.
  3. I have a third table of Members that also has a relationship with the Organization ID.

I would like the individual users with an Organization ID to only see the Members who have the SAME Organization ID.  So that any given user could only add or edit members from their own organization.  Make sense?

I thought I would try to filter this in a View and maybe a little SQL...  and then build a form off of that View.  But it doesn't seem to work that way...  Am I not seeing something or am I just going down the wrong path (i.e. there's a better way)?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
13 hours ago, JosephBaxter said:

So, here's what I'm trying to do:

  1. I have a table of Organizations with unique IDs.
  2. I have a table of Users (from Authentications) with an added field for a relationship with the Organization ID.
  3. I have a third table of Members that also has a relationship with the Organization ID.

I would like the individual users with an Organization ID to only see the Members who have the SAME Organization ID.  So that any given user could only add or edit members from their own organization.  Make sense?

I thought I would try to filter this in a View and maybe a little SQL...  and then build a form off of that View.  But it doesn't seem to work that way...  Am I not seeing something or am I just going down the wrong path (i.e. there's a better way)?

Hi @JosephBaxter, you can apply Record Level Security in the DataPage. You can check this article for more details:

https://howto.caspio.com/authentications-and-connections/authentication/record-level-security/record-level-security/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...