Sunday, May 29, 2011

JDev/ADF sample - Controlling ADF BC Attribute Insert Security

  • Controlling ADF BC Attribute Insert Security. As we all know, its possible to define attribute level security for ADF BC EO and control update operation. However, there is one catch - users granted with create access for the same EO, will be able to insert values into restricted fields during new row creation. These values will be stored during new row commit, typically we would like to avoid such situation and preserve consistency between different modes (update or create) for the same EO attributes. We can achieve this by overriding EO create() method and checking EntityAttributePermission class against row attributes.
    Download - ADFEOSecurity.zip

No comments: