Similar to #134, if we allow selective editing of domains, we should also limit access to the actions on the overview form.

See the access() method on the actions.

Comments

KittenDestroyer created an issue. See original summary.

KittenDestroyer’s picture

Status: Active » Needs review
StatusFileSize
new3.71 KB

I've attached patch in which added access check to DomainListBuilder, added permission for viewing domains list, modified routing to use this permission. Please review.

GitHub - https://github.com/agentrickard/domain/issues/135

KittenDestroyer’s picture

Assigned: KittenDestroyer » Unassigned
agentrickard’s picture

The comments on #2788623: Allow selective access to domain record editing apply here.

Also needs a note and example in domain.api.php that shows permissions must be enforced by hook implementations.

agentrickard’s picture

Status: Needs review » Fixed

This was fixed in Alpha7.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.