<?xml version="1.0" encoding="UTF-8"?>
<module version="1.0">
  <filter-mapping>
    <filter-name>service</filter-name>
    <url-pattern>/questions/*.html</url-pattern>
  </filter-mapping>
  <filter-mapping>
    <filter-name>auth-filter</filter-name>
    <url-pattern>/questions/*.html</url-pattern>
  </filter-mapping>
  <entity-permission>
    <name>questions-create</name>
    <entity-type>table-name</entity-type>
    <sql>
       select ACL.ID from ACL
       where ACL.ENTITY_TYPE = :entity_type
       and ACL.USER_ID = :user_id   
    </sql>
  </entity-permission>
</module>

<?xml version="1.0" encoding="UTF-8"?>
<module version="1.0">
    <filter-mapping>
        <filter-name>service</filter-name>
        <url-pattern>/questions/*.html</url-pattern>
    </filter-mapping>

    <filter-mapping>
        <filter-name>auth-filter</filter-name>
        <url-pattern>/questions/forms/*.html</url-pattern>
    </filter-mapping>

    <entity-permission>
        <name>questions-create</name>
        <entity-type>awa_workspace</entity-type>
        <sql>
            select ACL.ID from awa_acl AS ACL
            where ACL.ENTITY_TYPE = :entity_type
            and ACL.USER_ID = :user_id
        </sql>
    </entity-permission>
</module>

Update the Questions module configuration
Update the Questions module configuration

