def METHOD_NAME(self, parser):
    parser.add_argument(
        "-r",
        "--resources",
        dest="resources",
        nargs="*",
        type=str,
        default=[],
        help="Resources IDs for which permissions will be assigned to. Default value: [] (all the layers will be considered). "
    )
    parser.add_argument(
        "-p",
        "--permission",
        dest="permission",
        type=str,
        default=None,
        help="Permissions to be assigned. " "Allowed values are: view, download, edit and manage.",
    )
    parser.add_argument(
        "-u",
        "--users",
        dest="users",
        nargs="*",
        type=str,
        default=[],
        help="Users for which permissions will be assigned to. "
        "Multiple choices can be typed with comma separator.",
    )
    parser.add_argument(
        "-g",
        "--groups",
        dest="groups",
        nargs="*",
        type=str,
        default=[],
        help="Groups for which permissions will be assigned to. "
        "Multiple choices can be typed with comma separator.",
    )
    parser.add_argument(
        "-d",
        "--delete",
        dest="delete_flag",
        action="store_true",
        default=False,
        help="Delete permission if it exists.",
    )