def grant(self, fail_on_found=False, **kwargs):
        """Add a user or a team to a role. Required information:
        1) Type of the role
        2) Resource of the role, inventory, credential, or any other
        3) A user or a team to add to the role

        =====API DOCS=====
        Add a user or a team to a role. Required information:
        * Type of the role.
        * Resource of the role, inventory, credential, or any other.
        * A user or a team to add to the role.

        :param fail_on_found: Flag that if set, the operation fails if a user/team already has the role.
        :type fail_on_found: bool
        :param `**kwargs`: The user to be associated and the role to associate.
        :returns: parsed JSON of role grant.
        :rtype: dict

        =====API DOCS=====
        """
        return self.role_write(fail_on_found=fail_on_found, **kwargs)
def grant(self, fail_on_found=False, **kwargs):
        """Add a user or a team to a role. Required information:
        1) Type of the role
        2) Resource of the role, inventory, credential, or any other
        3) A user or a team to add to the role

        =====API DOCS=====
        Add a user or a team to a role. Required information:
        * Type of the role.
        * Resource of the role, inventory, credential, or any other.
        * A user or a team to add to the role.

        :param fail_on_found: Flag that if set, the operation fails if a user/team already has the role.
        :type fail_on_found: bool
        :param `**kwargs`: The user to be associated and the role to associate.
        :returns: parsed JSON of role grant.
        :rtype: dict

        =====API DOCS=====
        """
        return self.role_write(fail_on_found=fail_on_found, **kwargs)
def grant ( self , fail_on_found = False , * * kwargs ) : return self . role_write ( fail_on_found = fail_on_found , * * kwargs )
Add a user or a team to a role. Required information:
        1) Type of the role
        2) Resource of the role, inventory, credential, or any other
        3) A user or a team to add to the role

        =====API DOCS=====
        Add a user or a team to a role. Required information:
        * Type of the role.
        * Resource of the role, inventory, credential, or any other.
        * A user or a team to add to the role.

        :param fail_on_found: Flag that if set, the operation fails if a user/team already has the role.
        :type fail_on_found: bool
        :param `**kwargs`: The user to be associated and the role to associate.
        :returns: parsed JSON of role grant.
        :rtype: dict

        =====API DOCS=====
Add a user or a team to a role . Required information : 1 ) Type of the role 2 ) Resource of the role inventory credential or any other 3 ) A user or a team to add to the role