1. A method comprising: replicating data from a first database system to a second database system; determining a trigger table associated with the first database system, the trigger table including information for rows in tables of the first database system relevant to authorizations in the first database system; generating an access control list (ACL) report from the trigger table, the ACL report including information for setting ACL rules for the second database system; determining an access context for an entity from the ACL report; and generating an ACL rule based on the access context to restrict access to the replicated data in the second database system to users associated with the access context.