restrict table to 1 post

Wish to see a specific feature/change in future releases? Feel free to post it here, and if it gets enough "likes", we'd definitely include it in future releases!
Post Reply
patsd102
Veteran Member
Posts: 142
Joined: 2013-01-15 19:59

restrict table to 1 post

Post by patsd102 » 2015-05-03 14:38

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
23.17

jeannov
Posts: 11
Joined: 2015-04-01 17:14
Location: Trois-Rivieres,QC Canada

Re: restrict table to 1 post

Post by jeannov » 2015-05-05 01:15

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

Post Reply