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

shamsiarhamid52943
shamsiarhamid52943

I created a plugin shops. And a backend role merchant. Each user of Merchant role has a shop. Now problem is they can access and manage others shop too..In this fact i want Each user can only manage his own shop..any solution will be helpful..I'm new to october cms.Thank you.

mjauvin
mjauvin

You'd need to add the user id of the owner of the shop in your shop model to know who has access to which shop

1-2 of 2

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