kgp43
234
6
Laravel

How to restrict/limit resource edit without an login system?

Posted 2 months ago by kgp43

Hi,

I do not have a login system enabled at the moment, and need to find a workaround, to limit who can edit a resource. Adding the login system is not an option atm.

As of now, all visitors can change settings of my resource (e.g. /configurator/5/edit). How can I make it, so only the creator can edit the resource? Maybe limit on session, but not sure how to do that. I know it will be impossible for them to edit it, after they close the browser - but that will be okay.

Any suggestions?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.