Closed (fixed)
Project:
Domain
Version:
6.x-2.4
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
8 May 2010 at 17:04 UTC
Updated:
8 May 2010 at 21:09 UTC
Hi,
First of all, thanks for your support.
I created a module that creates some form.
A user can reach the form via the secondary menu (maybe it can help to the solution).
I want that only in my subdomain, anonymous user will not have access to it.
in my default site i want all users roles to have access to this form (again, it is generated by a module that i wrote).
How can i do it?
Comments
Comment #1
chenop commentedSolved by implementing access callback for this module.
used domain_get_domain() to get the active domain and user_access() to identify if user role got the right access.