Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

RFC: Merge project approved and approval_requested flags into a single field #1279

Copy link
Copy link
@begedin

Description

@begedin
Issue body actions

Problem

Looking at these two fields, it really seems they serve a singular purpose.

# A project is created 
`approved: false, approval_requested: false`
# User submits project for approval 
`approved: false, approval_requested: true`
# Admin approves project 
`approved: true, approval_requested :does_not_matter`

A single field, for example,

# 'created' -> 'pending_approval' -> 'approved'
field :onboarding_status, :string, null: false, default: 'created' 

Might serve our purposes much better.

We could add an additional status of rejected later, with an additional field of rejected_reason or something.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.