Test this for me... NOW!
Moderator: Scott Waters
- Don Becker
- Posts: 3312
- Joined: June 7th, 2010, 4:21 am
- Location: Iowa
- Contact:
Test this for me... NOW!
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.
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!
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.
Am I suppose to get a 403 header as well? because I didn't check that. But the page does say forbidden.
-
- Posts: 2288
- Joined: June 7th, 2010, 9:52 pm
- Location: Amarillo, Texas
Re: Test this for me... NOW!
You are not allowed to access this page.
- Steve Bledsoe
- Posts: 1809
- Joined: June 7th, 2010, 6:14 am
- Location: San Clemente, CA www.swfieldherp.com
- Contact:
Re: Test this for me... NOW!
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.
The page is blank with the exception of the menu items in the left margin and I get no warnings of any kind.
- Don Becker
- Posts: 3312
- Joined: June 7th, 2010, 4:21 am
- Location: Iowa
- Contact:
Re: Test this for me... NOW!
You do? You shouldn't... hmmmmmSteve Bledsoe wrote:I have access
- Don Becker
- Posts: 3312
- Joined: June 7th, 2010, 4:21 am
- Location: Iowa
- Contact:
Re: Test this for me... NOW!
Wait, what pages were you guys getting the forbidden error on, and Steve, what pages were you able to access?
- Steve Bledsoe
- Posts: 1809
- Joined: June 7th, 2010, 6:14 am
- Location: San Clemente, CA www.swfieldherp.com
- Contact:
Re: Test this for me... NOW!
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.
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.
- Don Becker
- Posts: 3312
- Joined: June 7th, 2010, 4:21 am
- Location: Iowa
- Contact:
Re: Test this for me... NOW!
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!
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.
- Steve Bledsoe
- Posts: 1809
- Joined: June 7th, 2010, 6:14 am
- Location: San Clemente, CA www.swfieldherp.com
- Contact:
Re: Test this for me... NOW!
With the exception of the "Forbidden" warning, the main body of the page is blank.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?
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!
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?
Is that what you were hoping for?
Re: Test this for me... NOW!
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.Steve Bledsoe wrote:With the exception of the "Forbidden" warning, the main body of the page is blank.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?
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.
- Don Becker
- Posts: 3312
- Joined: June 7th, 2010, 4:21 am
- Location: Iowa
- Contact:
Re: Test this for me... NOW!
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.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?
- Don Becker
- Posts: 3312
- Joined: June 7th, 2010, 4:21 am
- Location: Iowa
- Contact:
Re: Test this for me... NOW!
Nope, there should be links in the main content area if you are a president or secretary of a chapter.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.
Re: Test this for me... NOW!
psyon wrote:Nope, there should be links in the main content area if you are a president or secretary of a chapter.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.
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?
- Don Becker
- Posts: 3312
- Joined: June 7th, 2010, 4:21 am
- Location: Iowa
- Contact:
Re: Test this for me... NOW!
Yes, that is something different that may be changed in the future.
- kyle loucks
- Posts: 3147
- Joined: June 8th, 2010, 1:40 am
- Location: Pennsylvania- Bucks Co. near Phila.
Re: Test this for me... NOW!
Works for me!
Re: Test this for me... NOW!
Everything works perfect for me too.
-Northeast Chapter secretary
-Northeast Chapter secretary
- Nature Nate
- Posts: 510
- Joined: August 24th, 2010, 10:14 am
- Location: San Diego
Re: Test this for me... NOW!
I get the "invalid username or password" error
- Don Becker
- Posts: 3312
- Joined: June 7th, 2010, 4:21 am
- Location: Iowa
- Contact:
Re: Test this for me... NOW!
Are you registered on naherp.com ?Nature Nate wrote:I get the "invalid username or password" error
- Nature Nate
- Posts: 510
- Joined: August 24th, 2010, 10:14 am
- Location: San Diego
Re: Test this for me... NOW!
yeah, I have over 270 records.
Re: Test this for me... NOW!
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!!
Good thing its for the slackest of all the chapters!!
Re: Test this for me... NOW!
oh sure, bring out the cool stuff after the fact.
thats it, I am not playing with yous anymore
thats it, I am not playing with yous anymore
- Chris Smith
- Posts: 2291
- Joined: June 7th, 2010, 9:13 pm
- Location: Minnesota
Re: Test this for me... NOW!
Works for me.
-Chris
-Chris
- Biker Dave
- Posts: 2869
- Joined: June 10th, 2010, 7:56 pm
- Location: Wittmann,AZ
Re: Test this for me... NOW!
Worked for me.....
- Biker Dave
- Posts: 2869
- Joined: June 10th, 2010, 7:56 pm
- Location: Wittmann,AZ
Re: Test this for me... NOW!
I was able to add a member to AZ Chapter this evening using this.
Great tool!
Thanks
Dave
Great tool!
Thanks
Dave
- Biker Dave
- Posts: 2869
- Joined: June 10th, 2010, 7:56 pm
- Location: Wittmann,AZ
Re: Test this for me... NOW!
Don
OK...what happened? I am now "Forbidden" from this page...... what up ?
Dave
OK...what happened? I am now "Forbidden" from this page...... what up ?
Dave
- Don Becker
- Posts: 3312
- Joined: June 7th, 2010, 4:21 am
- Location: Iowa
- Contact:
Re: Test this for me... NOW!
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.
*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.
- Biker Dave
- Posts: 2869
- Joined: June 10th, 2010, 7:56 pm
- Location: Wittmann,AZ
Re: Test this for me... NOW!
Thanks for the help Don!
Dave
Dave