public function isEditable() { // Protect the guest-only and basic-authenticated permissions from edits. if ('guest-only' == $this->name || 'basic-authenticated' == $this->name) { return false; } // Otherwise return true; }