0 Replies Latest reply on Jul 27, 2009 1:34 PM by mvreddy.madhu

    security.drl

      hi

        I am working with security in seam frame work.I cant understand this security.drl file.can any one explain me the code.






      # This rule allows members to revoke permissions on their images to other users/roles

      rule RevokeImagePermissions
        no-loop
        activation-group "permissions"
      when
        acct: MemberAccount()
        image: MemberImage(mbr : member -> (mbr.memberId.equals(acct.member.memberId)))
        check: PermissionCheck(target == image, action == "seam.revoke-permission", granted == false)
      then
        check.grant();
      end


      thank u