OrchardCMS / OrchardCMS/Orchard

Add the approve/disable button to the user edit

Open
#8,317 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
2.4k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

We need to have the approve / disable button in the user edit shape.

I thought it could:

  • create a driver, as for the publish later, that clicks on approves triggers the approval
  • modify the edit action in the admin controller to add the approval button

Which do you think is the most optimal solution? Do you have other ideas?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the existing publish-later driver and the admin controller's edit action, both mentioned in the issue. Determine how the user edit shape can expose approve and disable actions, then verify that each button triggers the corresponding approval state change.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
authentication, authorization, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.