Peter Knight Posted June 25, 2015 Share Posted June 25, 2015 There's no way to temporarily pause a users login access. You can uncheck their roles and hit save. If you have many roles, you have to remember what they had access to if you need to re-admit them. Would it be useful to have a "pause access" checkbox for a user ? Also, on the User Overview a new column titled "Status" could be nice. Gives an overview of wether someone is paused, activated etc Edit - I think I can configure Lister to display a users status Link to comment Share on other sites More sharing options...
DaveP Posted June 25, 2015 Share Posted June 25, 2015 Not a proper solution, but you could just change the username temporarily, or add 'xxx' or something to it. Link to comment Share on other sites More sharing options...
Wanze Posted June 25, 2015 Share Posted June 25, 2015 Another approach: You could add a checkbox "inactive" to the users template. Then hook after login and if this checkbox is checked, return false. 4 Link to comment Share on other sites More sharing options...
Peter Knight Posted June 25, 2015 Author Share Posted June 25, 2015 Not a proper solution, but you could just change the username temporarily, or add 'xxx' or something to it. Personally, I like that idea Client wouldn't like this as a solution but as a short term fix it'll work for some of my more personal projects. Link to comment Share on other sites More sharing options...
Martijn Geerts Posted June 25, 2015 Share Posted June 25, 2015 With the API you could unpublish a user. Unpublished users can't login. Link to comment Share on other sites More sharing options...
Pete Posted June 25, 2015 Share Posted June 25, 2015 I was going to say same as Martin - unpublish them in the page tree would be easiest. A quick module could add similar functionality to the normal user profile page for superusers maybe as I don't think you can do it there (can't check quickly as on mobile). 1 Link to comment Share on other sites More sharing options...
Soma Posted June 25, 2015 Share Posted June 25, 2015 As far as I know you can't unpublish user in admin. Link to comment Share on other sites More sharing options...
renobird Posted June 25, 2015 Share Posted June 25, 2015 I've been using the checkbox method and a simple hook for a while. Works quite well. 2 Link to comment Share on other sites More sharing options...
teppo Posted June 25, 2015 Share Posted June 25, 2015 One more solution: https://github.com/teppokoivula/LoginScheduler. This has been on my todo list for a while, this topic just gave me a reason to put it together. Should work, but not 100% guaranteed 12 Link to comment Share on other sites More sharing options...
renobird Posted June 25, 2015 Share Posted June 25, 2015 Sweet — nice one Teppo! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now