摘要 |
A method and system are provided for inserting access control rules into an access control list. The access control list may be configured to contain independent rule blocks having ordered access rules. In one example, the method includes creating a new independent rule block and inserting a new access rule into the block if the list is empty. If the list is not empty, a set of mapped independent rule blocks may be created from the list. For each block in the set, the method may attempt to determine a position for the new access rule. Those blocks for which a position cannot be determined may be removed from the set, and the blocks in the set may be merged to form a new independent rule block with the new access rule.
|