Page 1 of 1

restrict table to 1 post

Posted: 2015-05-03 14:38
by patsd102
Can anyone help me restrict a table to just 1 single post per user as I want to use it as a profile page

ta

Re: restrict table to 1 post

Posted: 2015-05-05 01:15
by jeannov
my sugg:
- at sign-up new user default to a group who has insert permission on your table
- put some code in the after_insert() function hook of your table
to move this user to another group which has no insert permission
Could work!?

Jean