Skip to content

add permission to increase entity view count#14

Open
walterjenner wants to merge 1 commit intoDrupalHub:7.x-1.xfrom
walterjenner:7.x-1.x
Open

add permission to increase entity view count#14
walterjenner wants to merge 1 commit intoDrupalHub:7.x-1.xfrom
walterjenner:7.x-1.x

Conversation

@walterjenner
Copy link

Having a permission to control who can increase the entity view count allows to only count hits from certain user roles.

One can ignore the hits of admin users for example.

@RoySegall
Copy link

First - thank you for the PR.

The idea is good but I think that by default we want to know how many times an entity was viewed. Can you please add an update hook that add the permission to all the roles as well during the install?

10x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments