Permissions
A permission is just a string. Registering it makes it show up in the roles menu so
admins can toggle it. :Permission() on a command registers one automatically.
Lyn.Permission.Add("open_shop", "Shop", "user")
if ply:HasPermission("open_shop") then
-- ...
end
tip
default_role only applies when the permission is genuinely new. Once an admin
changes it in the menu, their choice wins.