hackclub / hackclub/hcb

[Contactor] Feature is usable even when org is not activated

Open
#14,920 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
870
Forks
138
Avg merge
1d 14h
Merged PRs (30d)
208

Description

## Problem

When an organization has been created and has not been fully activated, the contractor's features are still usable. This is incorrect.

## Expected behavior

The contractor feature is disabled when the org is not activated. You should not be able to invite a contractor.

Contributor guide

Open the contributing guide

Research direction

Start by locating the contractor invitation entry point and the organization activation state checks in the HCB repository. Add a regression test for an organization that is not fully activated, then verify that inviting a contractor is rejected while the organization is inactive.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
authorization, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.