Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I guess he meant to create a view of a table with “where” conditions depend on your user privileges


Yes, using the DEFINER clause.

For all i know there could be other methods in mysql at this point, but views is how people have been doing fine grained row permissions in mysql for decades.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: