What is the best approach for data visibility restriction? (guest,members,subscribers)

Posted 4 weeks ago by untymage

Hello everyone, First of all i have these tables in my database: Artists, Albums, RecordLabels, Playlists, The goal is to hide some contents between "guest,members,subscribers", How do i do that ? Should i add this column to every tables that i have ?

$table->enum('visible', ['guest', 'member', 'subscribers'])->default('guest');

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

Reply to

Use Markdown with GitHub-flavored code blocks.