Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New feature #19201: Add column "active" to users, to be able to activ…
…ate or deactivate users (#3550) * Feature #CT-1343: Limit creation of new users * Feature #CT-1343: Limit creation of new users * Feature #CT-1343: Limit creation of new users * Feature #CT-1343: Limit creation of new users * Feature #CT-1343: Limit creation of new users * Feature #CT-1343: Handle user status permission * Feature #CT-1343: Handle user status permission * Feature #CT-1343: Update the users count in navigation * Feature #CT-1343: Update the users count in navigation * Feature #CT-1343: DB update * Feature #CT-1343: DB update * Feature #CT-1343: remove user limit checks * Feature #CT-1343: remove user limit checks * Feature #CT-1343: Add status column * Feature #CR-1343: remove status from insertUser * Feature #CR-1343: remove user limit checks * Feature #CR-1343: rename Update_616 to Update_617 * Feature #CR-1343: rename Update_616 to Update_618 * Feature #CT-1343: Limit creation of new users * Feature #Cr-1343: Add column "active" to users, to be able to activate or deactivate users * Feature #CR-1343: Add status to Auth plugin * Feature #CR-1343: Add beforeFooterRender * Feature #CR-1343: rename status to user_status * Only merge arrays if data is an array * Show more precise error message in user management if present * Feature #CR-1343: rename status to user_status * Feature #CR-1343: remove beforeFooterRender * Block any non-active user from logging in * Don't check user_status in authdb plugin --------- Co-authored-by: Olle Haerstedt <olle.haerstedt@limesurvey.org>
- Loading branch information
1 parent
db2da46
commit bb14772
Showing
20 changed files
with
380 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
namespace LimeSurvey\Helpers\Update; | ||
|
||
use LimeSurvey\Helpers\Update\DatabaseUpdateBase; | ||
|
||
class Update_619 extends DatabaseUpdateBase | ||
{ | ||
/** | ||
* @inheritDoc | ||
*/ | ||
public function up() | ||
{ | ||
$this->db->createCommand()->addColumn('{{users}}', 'user_status', 'BOOLEAN DEFAULT TRUE'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.