Page 1 of 1

Test this for me... NOW!

Posted: February 22nd, 2011, 9:09 am
by Don Becker
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.

Re: Test this for me... NOW!

Posted: February 22nd, 2011, 9:17 am
by FunkyRes
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.

Re: Test this for me... NOW!

Posted: February 22nd, 2011, 9:26 am
by Paul White
You are not allowed to access this page.

Re: Test this for me... NOW!

Posted: February 22nd, 2011, 9:45 am
by Steve Bledsoe
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.

Re: Test this for me... NOW!

Posted: February 22nd, 2011, 9:47 am
by Don Becker
Steve Bledsoe wrote:I have access
You do? You shouldn't... hmmmmm

Re: Test this for me... NOW!

Posted: February 22nd, 2011, 9:49 am
by Don Becker
Wait, what pages were you guys getting the forbidden error on, and Steve, what pages were you able to access?

Re: Test this for me... NOW!

Posted: February 22nd, 2011, 9:55 am
by Steve Bledsoe
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.

Re: Test this for me... NOW!

Posted: February 22nd, 2011, 9:59 am
by Don Becker
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?

Re: Test this for me... NOW!

Posted: February 22nd, 2011, 10:30 am
by ritt
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.

Re: Test this for me... NOW!

Posted: February 22nd, 2011, 10:36 am
by Steve Bledsoe
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.

Re: Test this for me... NOW!

Posted: February 22nd, 2011, 10:36 am
by brick911
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?

Re: Test this for me... NOW!

Posted: February 22nd, 2011, 10:39 am
by spinifer
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.

Re: Test this for me... NOW!

Posted: February 22nd, 2011, 11:31 am
by Don Becker
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.

Re: Test this for me... NOW!

Posted: February 22nd, 2011, 11:31 am
by Don Becker
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.

Re: Test this for me... NOW!

Posted: February 22nd, 2011, 11:42 am
by spinifer
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?

Re: Test this for me... NOW!

Posted: February 22nd, 2011, 11:48 am
by Don Becker
Yes, that is something different that may be changed in the future.

Re: Test this for me... NOW!

Posted: February 22nd, 2011, 12:02 pm
by kyle loucks
Works for me!

Re: Test this for me... NOW!

Posted: February 24th, 2011, 3:55 pm
by Matt J
Everything works perfect for me too.

-Northeast Chapter secretary

Re: Test this for me... NOW!

Posted: February 26th, 2011, 10:14 am
by Nature Nate
I get the "invalid username or password" error :lol:

Re: Test this for me... NOW!

Posted: February 26th, 2011, 12:58 pm
by Don Becker
Nature Nate wrote:I get the "invalid username or password" error :lol:
Are you registered on naherp.com ?

Re: Test this for me... NOW!

Posted: February 27th, 2011, 7:50 pm
by Nature Nate
yeah, I have over 270 records.

Re: Test this for me... NOW!

Posted: February 28th, 2011, 6:36 pm
by chrish
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:

Re: Test this for me... NOW!

Posted: February 28th, 2011, 7:56 pm
by millside
oh sure, bring out the cool stuff after the fact.
thats it, I am not playing with yous anymore :cry:

Re: Test this for me... NOW!

Posted: March 1st, 2011, 4:45 pm
by Chris Smith
Works for me.

-Chris

Re: Test this for me... NOW!

Posted: March 1st, 2011, 9:38 pm
by Biker Dave
Worked for me.....

Re: Test this for me... NOW!

Posted: March 3rd, 2011, 9:18 pm
by Biker Dave
I was able to add a member to AZ Chapter this evening using this.

Great tool!

Thanks

Dave

Re: Test this for me... NOW!

Posted: March 21st, 2011, 8:56 pm
by Biker Dave
Don

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

Dave

Re: Test this for me... NOW!

Posted: March 22nd, 2011, 6:29 am
by Don Becker
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.

Re: Test this for me... NOW!

Posted: March 22nd, 2011, 10:13 pm
by Biker Dave
Thanks for the help Don!

Dave