original_docstring: Update access rules for given share.
  
          Please refer to base class for a more in-depth description. For this
          specific implementation, add_rules and delete_rules parameters are not
          used.
          
docstring: Update access rules for given share.
  Please refer to base class for a more in-depth description. For this
  specific implementation, add_rules and delete_rules parameters are not
  used.
docstring_tokens: Update access rules for given share . Please refer to base class for a more in - depth description . For this specific implementation add_rules and delete_rules parameters are not used .
code: def update_access(self, server, share_name, access_rules, add_rules,
                        delete_rules):
          """Update access rules for given share.
  
          Please refer to base class for a more in-depth description. For this
          specific implementation, add_rules and delete_rules parameters are not
          used.
          """
          all_users_rw = []
          all_users_ro = []
  
          self.validate_access_rules(
              access_rules, ('user',),
              (const.ACCESS_LEVEL_RO, const.ACCESS_LEVEL_RW))
  
          for access in access_rules:
              if access['access_level'] == const.ACCESS_LEVEL_RW:
                  all_users_rw.append(access['access_to'])
              else:
                  all_users_ro.append(access['access_to'])
          self._set_valid_users(
              server, all_users_rw, share_name, const.ACCESS_LEVEL_RW)
          self._set_valid_users(
              server, all_users_ro, share_name, const.ACCESS_LEVEL_RO)
code_tokens: def update_access ( self , server , share_name , access_rules , add_rules , delete_rules ) : all_users_rw = [ ] all_users_ro = [ ] self . validate_access_rules ( access_rules , ( 'user' , ) , ( const . ACCESS_LEVEL_RO , const . ACCESS_LEVEL_RW ) ) for access in access_rules : if access [ 'access_level' ] == const . ACCESS_LEVEL_RW : all_users_rw . append ( access [ 'access_to' ] ) else : all_users_ro . append ( access [ 'access_to' ] ) self . _set_valid_users ( server , all_users_rw , share_name , const . ACCESS_LEVEL_RW ) self . _set_valid_users ( server , all_users_ro , share_name , const . ACCESS_LEVEL_RO )
short_docstring: Update access rules for given share.
short_docstring_tokens: Update access rules for given share .
comment: """Update access rules for given share.
  
          Please refer to base class for a more in-depth description. For this
          specific implementation, add_rules and delete_rules parameters are not
          used.
          """