I have a Sessions table with fields for Coach and Attendees (linked to a People table). As a user, they get two table layouts with different Filters, Sessions Coached and Sessions Attended. Add New is fine for Sessions Coached (coaches add their sessions), but attendees should not be able to Add New sessions. I tried to fix this with two Permissions on the Sessions table: 1) if current user matches Coach, they get all the permissions, 2) if it matches Attendee, they can only Read. But still the Add New button appears on the Sessions Attended layout! (and appears to work when tested as a user)
Hi Tory,
If this is working when you are previewing as a user then this is working and you set your Permissions up correctly If you think your previewing is not what it should be, please reach out to Support@stackerhq.com.
When previewing as an admin this is intended behavior.
Thank you!
Unfortunately the Add New button is still appearing on the layout where I would rather not see it when previewing as a user (in the Sessions Attended table layout). I get the impression there is simply no way to remove it. I found a kludgy way to handle it - if they click Add New then on the form page I added a text warning they will not be able to add sessions they attended, and the form won’t let them try to specify that. But it would be great to be able to remove this button from Layouts the same as other buttons like Edit.
Hi Tory,
If you go to the table you do not want users to have the ability to add new on this is where the permission should be set. They should not have the ability to “Create” any new fields on that table.
If you reach out to Support(the question mark in the bottom corner or email: support@stackerhq.com) then I can take a look at the exact permissions you have set up and see what might be causing this issue.
Thank you,
Brittany
Well that’s the tricky part. They can create sessions where they’re coach, but they can’t create sessions where they’re attendee and someone else is coach. So it’s not a simple turn Create permission off or on for the whole table. Screenshots below of how I have the permissions set.
Hi Tory,
Does setting a data filter under the permissions offer any options that could help narrow down the user?
Brittany
Interesting idea. I tried the + Add Filter, but it will not allow any logic based on the current user, only static/fixed logic
Hi Tory,
I would love to take a look at the app and the settings to see if there is something we can do, would you please reach out to support@stackerhq.com or click the ? on the bottom right corner so I can take a closer look into the problem?
Thank you,
Brittany
Stacker Support
Done! Sent message with the ?
Thanks Brittany.