Using rules to disable flag access

Events happening in the community are now at Drupal community events on www.drupal.org.
pheliox's picture

Hi everyone. I'm a beginner on drupal and I'm building a site with booking management with rules and flag module. I met problems when implementing booking function,which disables flagging to user roles on specific node(content type) when exceeding limitation. Actually I have two plans, one is to hide the flag link, the other is to remove flag access on node with user roles, but I can't make either with actions provided by rules. Any suggestions? Of course not to implement the hook_flag_access() :(.

Comments

same

repjackson's picture

I'm attempting the same. Why not use the hook?

Rules

Group organizers

Group categories

Categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week