This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

guino199623086
guino199623086

Since now we've just only created database 'projects' and model 'project' and added it to 'Projects' menu Now we ask if i'ts possible to filter records by the creator of the record, so wen user logs in and go to 'Projects' menu only see his created records, Is that possible? or we have to controll it all in front-end?

alxy
alxy

This is certainly possible. Also, it doesn't need to be a backend filter. If you want one user really only be able to see his own records, you can can have a look at the blog plugin. There are quite a lot of hooks for the ListsBehavior. If you are really looking in implementing a Filter, that is described here. You probably want a modelClass filter, where the model is Backend\Models\User.

guino199623086
guino199623086

Thanks a lot, i've see now what i have to do

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.