Chapter 1 What’s New for FortiOS 5.2.1 : Authentication : Captive Portal : Using Groups from the Security Policy
  
Using Groups from the Security Policy
Portal interfaces can now be configured to use the user groups set in the security policies. This will happen by default if no user group is configured on the interface.