[Permission] Deleted members with pending requests…
Posted: 02 June 2007 09:12 PM   [ Ignore ]
Jr. Member
RankRank
Total Posts:  45
Joined  2005-04-24

If someone requests permission to a particular point, and then that member is deleted, the approval form will show the pending request as member ID 1.  I was making sure everything was working on my system and had 3 different members, all requested permission, I deleted the users from EE and then went to the form: there are three requests for my username there. =)

The deletion process clearly can’t interact with the module, but it should probably have some sort of sanity check to make sure the member is still in existence.

Profile
 
 
Posted: 02 June 2007 09:17 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  736
Joined  2004-03-30

Great bug! In the Tag module I regularly send orphans like this to a nice loving home in the ether. Looks like we need it here too.

mk

 Signature 

Mitchell Kimbrough

Profile
 
 
Posted: 02 June 2007 09:21 PM   [ Ignore ]   [ # 2 ]
Jr. Member
RankRank
Total Posts:  45
Joined  2005-04-24

Just as a note, I have the delete in there:

<input type="checkbox" name="delete" value="yes" />

But choosing none and hitting submit leaves those pending requests in the system.  I’d like to remove the pending requests - both fo the members that exist and those that don’t, so that I can continue using those members to force an admin email. =)  According to the docs, with that in there, if you don’t check someone they’re request will be removed.  I may have misunderstood that part.

Profile
 
 
Posted: 02 June 2007 09:34 PM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  736
Joined  2004-03-30

You understood right. It’s just not working apparently.

 Signature 

Mitchell Kimbrough

Profile
 
 
Posted: 02 June 2007 09:54 PM   [ Ignore ]   [ # 4 ]
Jr. Member
RankRank
Total Posts:  45
Joined  2005-04-24

I made an error and had the delete checkbox outside of the member names container.  Adding it in there let me check those users and remove their requests so all is well.  Sorry, I have a lot of silly moments on some days… =)

Profile