-- Permissions


function CanEditObject(object)
	local player = Players.LocalPlayer
	local character = player.Character
	return Permissions.CanEdit
end

function CanEditProperty(object,propertyData)
	local tags = propertyData["Tags"]
	if tags then
		for _,name in pairs(tags) do
			if name == "ReadOnly" or name == "NotScriptable" then
				return false
			end
		end
	end
	return CanEditObject(object)
end
