It is currently July 23rd, 2014, 6:18 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 29 posts ] 
Author Message
 Post subject: Test this for me... NOW!
PostPosted: February 22nd, 2011, 9:09 am 
User avatar

Joined: June 7th, 2010, 3:21 am
Posts: 3256
Location: Iowa
http://www.nafha.org/officer/index.php

Chapter presidents and secretaries should have access. Everyone else should get an error. Also, chapter presidents and secretaries should see a link to a page that shows the members in their chapters. If you are a president or secretary in multiple chapters, you should see a link for each chapter. When you click the member link, the URL will end with c=NNN. Try replacing that number to make sure it denies you access to other chapters. I will try to finish this up in the next day or so so you guys can add/remove members from your chapters on your own, and after that is done, I will make a script that syncs up the user groups here on FHF. I had some work come up today though, so won't be able to finish today, but I wanted to at least get you guys to test out the access checks for me.


Top
 Profile WWW 
 
 Post subject: Re: Test this for me... NOW!
PostPosted: February 22nd, 2011, 9:17 am 
User avatar

Joined: June 7th, 2010, 5:19 am
Posts: 1938
Location: Redding, CA
I get a forbidden.
Am I suppose to get a 403 header as well? because I didn't check that. But the page does say forbidden.


Top
 Profile WWW 
 
 Post subject: Re: Test this for me... NOW!
PostPosted: February 22nd, 2011, 9:26 am 

Joined: June 7th, 2010, 8:52 pm
Posts: 2288
Location: Amarillo, Texas
You are not allowed to access this page.


Top
 Profile  
 
 Post subject: Re: Test this for me... NOW!
PostPosted: February 22nd, 2011, 9:45 am 
User avatar

Joined: June 7th, 2010, 5:14 am
Posts: 1516
Location: San Clemente, CA
I have access - or at least your link takes me to the page.
The page is blank with the exception of the menu items in the left margin and I get no warnings of any kind.


Last edited by Steve Bledsoe on February 22nd, 2011, 9:47 am, edited 1 time in total.

Top
 Profile WWW 
 
 Post subject: Re: Test this for me... NOW!
PostPosted: February 22nd, 2011, 9:47 am 
User avatar

Joined: June 7th, 2010, 3:21 am
Posts: 3256
Location: Iowa
Steve Bledsoe wrote:
I have access


You do? You shouldn't... hmmmmm


Top
 Profile WWW 
 
 Post subject: Re: Test this for me... NOW!
PostPosted: February 22nd, 2011, 9:49 am 
User avatar

Joined: June 7th, 2010, 3:21 am
Posts: 3256
Location: Iowa
Wait, what pages were you guys getting the forbidden error on, and Steve, what pages were you able to access?


Top
 Profile WWW 
 
 Post subject: Re: Test this for me... NOW!
PostPosted: February 22nd, 2011, 9:55 am 
User avatar

Joined: June 7th, 2010, 5:14 am
Posts: 1516
Location: San Clemente, CA
This is the address of the page I was taken to. http://www.nafha.org/officer/index.php

I followed your link again and now I get the "Forbidden - you are not allowed to access this page" warning.

It appears to be the same page I was taken to on my first try but the warning wasn't there. It is now.


Last edited by Steve Bledsoe on February 22nd, 2011, 10:38 am, edited 1 time in total.

Top
 Profile WWW 
 
 Post subject: Re: Test this for me... NOW!
PostPosted: February 22nd, 2011, 9:59 am 
User avatar

Joined: June 7th, 2010, 3:21 am
Posts: 3256
Location: Iowa
Ok, steve, thats how it should be. I found a bug in the access checks. You would have had access to that main page before, but did you see any chapter lists?


Top
 Profile WWW 
 
 Post subject: Re: Test this for me... NOW!
PostPosted: February 22nd, 2011, 10:30 am 

Joined: June 8th, 2010, 6:05 am
Posts: 223
Works for me (as it should), I get to a page that says "South Central Chapter" with a link to "Chapter Members" and a list of all members.


Top
 Profile  
 
 Post subject: Re: Test this for me... NOW!
PostPosted: February 22nd, 2011, 10:36 am 
User avatar

Joined: June 7th, 2010, 5:14 am
Posts: 1516
Location: San Clemente, CA
psyon wrote:
Ok, steve, thats how it should be. I found a bug in the access checks. You would have had access to that main page before, but did you see any chapter lists?

With the exception of the "Forbidden" warning, the main body of the page is blank.
The only "list" I can see on the page are the normal menu items in the left margin.
I think it's working as it should be.


Top
 Profile WWW 
 
 Post subject: Re: Test this for me... NOW!
PostPosted: February 22nd, 2011, 10:36 am 
User avatar

Joined: June 7th, 2010, 8:52 am
Posts: 3458
Location: Morrisville, PA
Ok... So I'm a VP for the NE Chapter and secretary for the SE Chapter. When I sign in the Northeast Chapter shows up with no link, but the Southeast Chapter shows up with a "Chapter Members" link. I click on that and it works. Up in the URL it says c=4. I change that to c=3 and it says FORBIDDEN... you are not allowed access to this page.

Is that what you were hoping for?


Top
 Profile  
 
 Post subject: Re: Test this for me... NOW!
PostPosted: February 22nd, 2011, 10:39 am 
User avatar

Joined: June 7th, 2010, 9:48 am
Posts: 2350
Location: Delmarva
Steve Bledsoe wrote:
psyon wrote:
Ok, steve, thats how it should be. I found a bug in the access checks. You would have had access to that main page before, but did you see any chapter lists?

With the exception of the "Forbidden" warning, the main body of the page is blank.
The only "list" I can see on the page are the normal menu items in the left margin.
I think it's working as it should be.


I think I am getting what Steve is getting without the "forbidden." If I click the link "Add a new page" in the left hand column, it looks like I have access to this type of editing.


Top
 Profile  
 
 Post subject: Re: Test this for me... NOW!
PostPosted: February 22nd, 2011, 11:31 am 
User avatar

Joined: June 7th, 2010, 3:21 am
Posts: 3256
Location: Iowa
brick911 wrote:
Ok... So I'm a VP for the NE Chapter and secretary for the SE Chapter. When I sign in the Northeast Chapter shows up with no link, but the Southeast Chapter shows up with a "Chapter Members" link. I click on that and it works. Up in the URL it says c=4. I change that to c=3 and it says FORBIDDEN... you are not allowed access to this page.

Is that what you were hoping for?


Yes, that is what is happening. It shows you the North East chapter because I will probably end up adding tools for the other officer positions too.


Top
 Profile WWW 
 
 Post subject: Re: Test this for me... NOW!
PostPosted: February 22nd, 2011, 11:31 am 
User avatar

Joined: June 7th, 2010, 3:21 am
Posts: 3256
Location: Iowa
spinifer wrote:
I think I am getting what Steve is getting without the "forbidden." If I click the link "Add a new page" in the left hand column, it looks like I have access to this type of editing.


Nope, there should be links in the main content area if you are a president or secretary of a chapter.


Top
 Profile WWW 
 
 Post subject: Re: Test this for me... NOW!
PostPosted: February 22nd, 2011, 11:42 am 
User avatar

Joined: June 7th, 2010, 9:48 am
Posts: 2350
Location: Delmarva
psyon wrote:
spinifer wrote:
I think I am getting what Steve is getting without the "forbidden." If I click the link "Add a new page" in the left hand column, it looks like I have access to this type of editing.


Nope, there should be links in the main content area if you are a president or secretary of a chapter.



Uh....Correct, no links in the main content area. But I do have Admin access for adding a new page. I guess that is something different?


Top
 Profile  
 
 Post subject: Re: Test this for me... NOW!
PostPosted: February 22nd, 2011, 11:48 am 
User avatar

Joined: June 7th, 2010, 3:21 am
Posts: 3256
Location: Iowa
Yes, that is something different that may be changed in the future.


Top
 Profile WWW 
 
 Post subject: Re: Test this for me... NOW!
PostPosted: February 22nd, 2011, 12:02 pm 
User avatar

Joined: June 8th, 2010, 12:40 am
Posts: 3132
Location: Pennsylvania- Bucks Co. near Phila.
Works for me!


Top
 Profile  
 
 Post subject: Re: Test this for me... NOW!
PostPosted: February 24th, 2011, 3:55 pm 
User avatar

Joined: June 7th, 2010, 10:32 am
Posts: 679
Location: Delaware
Everything works perfect for me too.

-Northeast Chapter secretary


Top
 Profile WWW 
 
 Post subject: Re: Test this for me... NOW!
PostPosted: February 26th, 2011, 10:14 am 
User avatar

Joined: August 24th, 2010, 9:14 am
Posts: 457
Location: San Diego
I get the "invalid username or password" error :lol:


Top
 Profile  
 
 Post subject: Re: Test this for me... NOW!
PostPosted: February 26th, 2011, 12:58 pm 
User avatar

Joined: June 7th, 2010, 3:21 am
Posts: 3256
Location: Iowa
Nature Nate wrote:
I get the "invalid username or password" error :lol:


Are you registered on naherp.com ?


Top
 Profile WWW 
 
 Post subject: Re: Test this for me... NOW!
PostPosted: February 27th, 2011, 7:50 pm 
User avatar

Joined: August 24th, 2010, 9:14 am
Posts: 457
Location: San Diego
yeah, I have over 270 records.


Top
 Profile  
 
 Post subject: Re: Test this for me... NOW!
PostPosted: February 28th, 2011, 6:36 pm 
User avatar

Joined: June 7th, 2010, 10:14 pm
Posts: 2617
Location: San Antonio, TX
It works for me. I guess I must have agreed to be some sort of officer?

Good thing its for the slackest of all the chapters!! :lol:


Top
 Profile  
 
 Post subject: Re: Test this for me... NOW!
PostPosted: February 28th, 2011, 7:56 pm 

Joined: June 7th, 2010, 5:22 pm
Posts: 585
oh sure, bring out the cool stuff after the fact.
thats it, I am not playing with yous anymore :cry:


Top
 Profile  
 
 Post subject: Re: Test this for me... NOW!
PostPosted: March 1st, 2011, 4:45 pm 
User avatar

Joined: June 7th, 2010, 8:13 pm
Posts: 2245
Location: Minnesota
Works for me.

-Chris


Top
 Profile  
 
 Post subject: Re: Test this for me... NOW!
PostPosted: March 1st, 2011, 9:38 pm 
User avatar

Joined: June 10th, 2010, 6:56 pm
Posts: 2732
Location: Litchfield Park, AZ
Worked for me.....


Top
 Profile  
 
 Post subject: Re: Test this for me... NOW!
PostPosted: March 3rd, 2011, 9:18 pm 
User avatar

Joined: June 10th, 2010, 6:56 pm
Posts: 2732
Location: Litchfield Park, AZ
I was able to add a member to AZ Chapter this evening using this.

Great tool!

Thanks

Dave


Top
 Profile  
 
 Post subject: Re: Test this for me... NOW!
PostPosted: March 21st, 2011, 7:56 pm 
User avatar

Joined: June 10th, 2010, 6:56 pm
Posts: 2732
Location: Litchfield Park, AZ
Don

OK...what happened? I am now "Forbidden" from this page...... what up ?

Dave


Top
 Profile  
 
 Post subject: Re: Test this for me... NOW!
PostPosted: March 22nd, 2011, 5:29 am 
User avatar

Joined: June 7th, 2010, 3:21 am
Posts: 3256
Location: Iowa
Not sure what happened, but you weren't listed as the President any more. I think it's because you hold two officer positions, and that messes with the code a little.

*EDIT* On second thought, I wonder if your chapter secretary deleted you by accident because you were listed twice, and then readded you. That would remove your officer status. Just in case, I made it so you can't remove officers from the chapter. Only the DB coordinator can do that now.


Top
 Profile WWW 
 
 Post subject: Re: Test this for me... NOW!
PostPosted: March 22nd, 2011, 9:13 pm 
User avatar

Joined: June 10th, 2010, 6:56 pm
Posts: 2732
Location: Litchfield Park, AZ
Thanks for the help Don!

Dave


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 29 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to: