A user with 'Community' role should see 'Confirm' button on user profiles of users who:
- have ‘authenticated’ role
- don’t have ‘confirmed’ role

Title text for the 'confirm' button is
'Confirm this user is not a spammer'

Button will be custom code, not flag - maybe fast toggle + custom

Comments

tvn’s picture

YesCT’s picture

  • opdavies committed 2a67aba on 2447543-confirm-button
    Issue #2447543: Store who confirmed the user
    
  • opdavies committed 430f112 on 2447543-confirm-button
    Issue #2447543: Added page callback
    
  • opdavies committed 56eb03f on 2447543-confirm-button
    Issue #2447543: Started adding confirm button
    
  • opdavies committed 5ab5d2f on 2447543-confirm-button
    Revert "Issue #2447543: Users cannot confirm themselves"
    
    This reverts...
  • opdavies committed 5e73c4d on 2447543-confirm-button
    Issue #2447543: Users cannot confirm themselves
    
  • opdavies committed 7676c49 on 2447543-confirm-button
    Issue #2447543: Only show the button if the confirmer has the community...
  • opdavies committed d31f80e on 2447543-confirm-button
    Issue #2447543: Remove default role IDs
    
  • opdavies committed ddb8552 on 2447543-confirm-button
    Issue #2447543: Only show the undo button for one page load
    
  • opdavies committed e3380aa on 2447543-confirm-button
    Issue #2447543: Users cannot confirm themselves
    

  • opdavies committed 00b6432 on 2447543-confirm-button
    Issue #2447543: Don't show the button if the user isn't authenticed or...
drumm’s picture

With all of our requirements, this surpassed what fasttoggle can do well, we're doing a custom button.

drumm’s picture

Issue summary: View changes

  • drumm committed 259ac46 on 2447543-confirm-button
    Issue #2447543: Permissions refactoring
    
  • drumm committed c64e237 on 2447543-confirm-button authored by opdavies
    Issue #2447543 by drumm, opdavies: Logic cleanup
    
  • drumm committed da7ed8f on 2447543-confirm-button
    Issue #2447543: Convert to a form
    

  • opdavies committed 17b24c1 on 2447543-confirm-button
    Issue #2447543: Added AJAX
    

  • opdavies committed f49b116 on 2447543-confirm-button
    Issue #2447543: Added prefix text for the undo state
    

  • opdavies committed 1b9732a on 2447543-confirm-button
    Issue #2447543: Add a wrapper around the undo text
    
drumm’s picture

Status: Active » Fixed
Issue tags: +needs drupal.org deployment

  • drumm committed 284875c on 2447543-confirm-button
    Issue #2447543: Remove unused variables
    
  • drumm committed 5e2efa7 on 2447543-confirm-button
    Issue #2447543: Remove remnants of old implementation
    
  • drumm committed b2b46ad on 2447543-confirm-button
    Issue #2447543: Put confirm button within .user-picture-container
    
  • drumm committed e201357 on 2447543-confirm-button
    Issue #2447543: drupalorg_user_is_confirmed() is always TRUE here
    

  • opdavies committed 00b6432 on 2447543-confirm-button
    Issue #2447543: Don't show the button if the user isn't authenticed or...
  • opdavies committed 17b24c1 on 2447543-confirm-button
    Issue #2447543: Added AJAX
    
  • opdavies committed 1b9732a on 2447543-confirm-button
    Issue #2447543: Add a wrapper around the undo text
    
  • drumm committed 259ac46 on 2447543-confirm-button
    Issue #2447543: Permissions refactoring
    
  • drumm committed 284875c on 2447543-confirm-button
    Issue #2447543: Remove unused variables
    
  • opdavies committed 2a67aba on 2447543-confirm-button
    Issue #2447543: Store who confirmed the user
    
  • opdavies committed 430f112 on 2447543-confirm-button
    Issue #2447543: Added page callback
    
  • opdavies committed 56eb03f on 2447543-confirm-button
    Issue #2447543: Started adding confirm button
    
  • opdavies committed 5ab5d2f on 2447543-confirm-button
    Revert "Issue #2447543: Users cannot confirm themselves"
    
    This reverts...
  • drumm committed 5e2efa7 on 2447543-confirm-button
    Issue #2447543: Remove remnants of old implementation
    
  • opdavies committed 5e73c4d on 2447543-confirm-button
    Issue #2447543: Users cannot confirm themselves
    
  • opdavies committed 7676c49 on 2447543-confirm-button
    Issue #2447543: Only show the button if the confirmer has the community...
  • drumm committed b2b46ad on 2447543-confirm-button
    Issue #2447543: Put confirm button within .user-picture-container
    
  • drumm committed c64e237 on 2447543-confirm-button authored by opdavies
    Issue #2447543 by drumm, opdavies: Logic cleanup
    
  • opdavies committed d31f80e on 2447543-confirm-button
    Issue #2447543: Remove default role IDs
    
  • drumm committed da7ed8f on 2447543-confirm-button
    Issue #2447543: Convert to a form
    
  • opdavies committed ddb8552 on 2447543-confirm-button
    Issue #2447543: Only show the undo button for one page load
    
  • drumm committed e201357 on 2447543-confirm-button
    Issue #2447543: drupalorg_user_is_confirmed() is always TRUE here
    
  • opdavies committed e3380aa on 2447543-confirm-button
    Issue #2447543: Users cannot confirm themselves
    
  • opdavies committed f49b116 on 2447543-confirm-button
    Issue #2447543: Added prefix text for the undo state
    
drumm’s picture

Issue tags: -needs drupal.org deployment

Now deployed.

  • drumm committed fc3dfcf on 7.x-3.x
    Issue #2447543: Change fasttoggle confirm links to be available to only...

  • drumm committed e0dbbc9 on 7.x-3.x, dev
    Issue #2447543: Add a title to the button
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.