Hi,
I have 2 questions, but related, and pardon me if you think that all I need is in the documentation... I did not the solution by myself yet, and your help will be very appreciated.
First, I want to automatically give a value to an hidden field on the insertion form, and I want it to receive the UserId of the current user (I want Carrie to be able to add a record in the table "Posts", and to fill the field "AuthorId" with Carrie's Id automatically).
Second, I want to manage permissions on some records with the UserId, and another foreign key (I want Alan to be able to edit all records of the tables "Posts" where the CityId is "NewYork" for exemple).
Can you please help me with that?
Best regards,
BrokenClock