Persist disabled policies

We need to:

  • persist inactive policies, too (both SEP and MR approval policies)
  • ensure that still only the first N policies get persisted

The following discussion from !148854 (merged) should be addressed:

  • @sashi_kumar started a discussion:

    question Since we have enabled field in security_policies, should we also persist inactive policies? 🤔