Comments

akashjain132 created an issue. See original summary.

perennial.sky’s picture

Assigned: perennial.sky » Unassigned
Status: Active » Needs review
StatusFileSize
new1.01 KB

Here is the patch

perennial.sky’s picture

Here is the new patch, since this permission is only for administrator role or someone trusted roles, So we need to show warning message on permission page by adding

restrict access: true parameter in permission file.

Here is the reference of removing hook_permission by *.permissions.yml file
https://www.drupal.org/node/2311427

badjava’s picture

Assigned: Unassigned » badjava

@akashjain132 Thank you for reporting this issue and the patch. I will review it soon.

novitsh’s picture

Status: Needs review » Reviewed & tested by the community

Reviewed and tested the patch.
Cleanly applied and working.

Setting to RTBC.

badjava’s picture

Status: Reviewed & tested by the community » Closed (fixed)

Committed. Thank you @akashjain132 for submitting this patch and @Novitsh for testing it.

jweowu’s picture

Status: Closed (fixed) » Fixed

Reverting to just "Fixed". Fixed issues are closed automatically after two weeks, if there has been no further activity.

Status: Fixed » Closed (fixed)

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