예제 #1
0
파일: base.py 프로젝트: dilekuzulmez/balrog
                     "scheduled_change_product_rs"))
app.add_url_rule(
    "/scheduled_changes/required_signoffs/product/<int:sc_id>/enact",
    view_func=EnactProductRequiredSignoffScheduledChangeView.as_view(
        "enact_scheduled_change_product_rs"))
app.add_url_rule(
    "/scheduled_changes/required_signoffs/product/<int:sc_id>/signoffs",
    view_func=ProductRequiredSignoffScheduledChangeSignoffsView.as_view(
        "scheduled_change_product_rs_signoffs"))
app.add_url_rule(
    "/scheduled_changes/required_signoffs/product/<int:sc_id>/revisions",
    view_func=ProductRequiredSignoffScheduledChangeHistoryView.as_view(
        "scheduled_change_product_rs_history"))
app.add_url_rule(
    "/scheduled_changes/required_signoffs/permissions",
    view_func=PermissionsRequiredSignoffsScheduledChangesView.as_view(
        "scheduled_changes_permissions_rs"))
app.add_url_rule(
    "/scheduled_changes/required_signoffs/permissions/<int:sc_id>",
    view_func=PermissionsRequiredSignoffScheduledChangeView.as_view(
        "scheduled_change_permissions_rs"))
app.add_url_rule(
    "/scheduled_changes/required_signoffs/permissions/<int:sc_id>/enact",
    view_func=EnactPermissionsRequiredSignoffScheduledChangeView.as_view(
        "enact_scheduled_change_permissions_rs"))
app.add_url_rule(
    "/scheduled_changes/required_signoffs/permissions/<int:sc_id>/signoffs",
    view_func=PermissionsRequiredSignoffScheduledChangeSignoffsView.as_view(
        "scheduled_change_permissions_rs_signoffs"))
app.add_url_rule(
    "/scheduled_changes/required_signoffs/permissions/<int:sc_id>/revisions",
    view_func=PermissionsRequiredSignoffScheduledChangeHistoryView.as_view(
예제 #2
0
def scheduled_changes_rs_permissions_post():
    """POST /scheduled_changes/required_signoffs/permissions"""
    return PermissionsRequiredSignoffsScheduledChangesView().post()