how to auto-expire a user from a group, based on date?

Moderators: mandville, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
minbori
Joomla! Apprentice
Joomla! Apprentice
Posts: 45
Joined: Thu Oct 28, 2010 9:28 am
Location: Hamburg, Germany

how to auto-expire a user from a group, based on date?

Post by minbori » Mon May 15, 2017 10:57 am

Hi all, apologies in advance if I'm repeating a question but I've searched the forum and the JED list and haven't found the info I'm looking for (maybe I don't know the right search terms to use?).

Anyway, my question is this: is it possible to set a user's ACL group membership for a limited time? Like the "start publishing date" and "end publishing date" on content items?

I have a use case where certain users should only have administrator rights for specific periods of time, and I don't want that to be dependent on another administrator remembering to go in and manually change the user's group on a specific date. Essentially I need to be able to put a user in the Administrator group, then one year later, automatically demote them back to Registered.

Either core Joomla or extension recommendations would be welcome, thanks!

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44073
Joined: Sat Apr 05, 2008 9:58 pm

Re: how to auto-expire a user from a group, based on date?

Post by Webdongle » Mon May 15, 2017 1:28 pm

Found
The extensions allows you to:
- Set Expiry date for Joomla user accounts
https://extensions.joomla.org/extension ... er-ue-man/

And https://extensions.joomla.org/extension ... userprune/
Their manual says:
"The Premium and Business editions provide a more consistent user account management at configurable regular time intervals."

And https://extensions.joomla.org/extension ... up-timely/

Never used any of them myself
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

minbori
Joomla! Apprentice
Joomla! Apprentice
Posts: 45
Joined: Thu Oct 28, 2010 9:28 am
Location: Hamburg, Germany

Re: how to auto-expire a user from a group, based on date?

Post by minbori » Mon May 15, 2017 4:01 pm

Thanks for the response, it's appreciated. Looks like only "Assign UserGroup Timely" offers demotion instead of expiring the whole account, but that's farther than I got with my searches! I'll test it out and see.

Also for anyone else who's interested -- looks like Community Builder has an addon (CB Auto Actions) that might do something like this:
https://www.joomlapolis.com/component/s ... temid=1249


Locked

Return to “Access Control List (ACL) in Joomla! 3.x”