 
 <cfif #action# is "setRoles">
 <cfoutput>
-	Check or uncheck boxs below to require roles for form access. A form may require any number of roles. 
+	Check or uncheck boxs below to require roles for form access. A form may require any number of roles.
 	No checks means the form is not available to any user and should be PERMANENTLY DELETED.
-	
+
 	<cfquery name="roles" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
 		select distinct role_name from cf_ctuser_roles order by role_name
 	</cfquery>

					<cfloop query="roles">
						<cfquery name="current" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
							select * from cf_form_permissions where form_path='#thisName#' and
							upper(role_name) = '#ucase(role_name)#'					
						</cfquery>
						<td id="cell_#role_name#:#thisName#">
							<input type="checkbox" name="#role_name#:#thisName#" 
								id="#role_name#:#thisName#" onchange="setUserFormAccess(this.id)"
									<cfif #current.recordcount# gt 0>checked="checked"</cfif>>
						</td>

	create or replace public synonym cf_form_permissions for cf_form_permissions;
	grant update,insert,select,delete on cf_form_permissions to global_admin;
	grant select on cf_form_permissions to public;

--->

Find a form using the filter below. Searches are case-sensitive. Only .cfm files are available.
