This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
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?
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
.
1-3 of 3