original_docstring: Updates access rules added between two rule sets.
docstring: Updates access rules added between two rule sets.
docstring_tokens: Updates access rules added between two rule sets .
code: def _handle_added_rules(self, share_name, existing_rules, new_rules):
          """Updates access rules added between two rule sets."""
          added_rules = {
              user_or_group: permission
              for user_or_group, permission in new_rules.items()
              if user_or_group not in existing_rules
          }
  
          for user_or_group, permission in added_rules.items():
              self._client.add_cifs_share_access(
                  share_name, user_or_group, self._is_readonly(permission))
code_tokens: def _handle_added_rules ( self , share_name , existing_rules , new_rules ) : added_rules = { user_or_group : permission for user_or_group , permission in new_rules . items ( ) if user_or_group not in existing_rules } for user_or_group , permission in added_rules . items ( ) : self . _client . add_cifs_share_access ( share_name , user_or_group , self . _is_readonly ( permission ) )
short_docstring: Updates access rules added between two rule sets.
short_docstring_tokens: Updates access rules added between two rule sets .
comment: """Updates access rules added between two rule sets."""