Berechtigungen arbeiten nicht richtig

Support for Administration, Installation, Update & Conversion
Locked until 1.1.0 was released.

Re: Berechtigungen arbeiten nicht richtig

Postby photodrome » Fri Mar 02, 2012 10:20 pm

Another clue for the developer, however topicstarter encounterd permissions troubles in version 1.1.4

But this give's him two options to try out, hope the cause is found also.
User avatar
photodrome
Donator
Donator
 
Posts: 18
Topics: 3
Joined: Sun Aug 14, 2011 6:28 pm

Re: Berechtigungen arbeiten nicht richtig

Postby michaelp74 » Sat Mar 03, 2012 12:14 am

Also after this my edits i must remove all permissions from gallery and re-aply the new.
But without any additional SQL commands - phpbb_gallery_users(user_permissions) has been corrected automatically.



Hmm, this small fix has removed perfect button "gallery" from new/edit post :cry:
michaelp74
Posts < 10
Posts < 10
 
Posts: 5
Topics: 1
Images: 0
Joined: Thu Feb 19, 2009 12:45 am
phpBB.com: michaelp74

Re: Berechtigungen arbeiten nicht richtig

Postby photodrome » Sat Mar 03, 2012 12:20 pm

My solution worked fine, but when users uploaded image, then they get all the same permsisions again. So i tested the removal of the line in includes/functions_display.php suggested by michaelp74:

Code: Select all
if (class_exists('phpbb_gallery_integration'))
   {
      phpbb_gallery_integration::posting_display_popup();
   }


And then deleted all records in phpbb_gallery_users.

This seems to be the correct solution for me, now when users upload images they retain their own rights, and in phpbb_gallery_users permissions you finaly see that the users get different permissions :)
User avatar
photodrome
Donator
Donator
 
Posts: 18
Topics: 3
Joined: Sun Aug 14, 2011 6:28 pm

Re: Berechtigungen arbeiten nicht richtig

Postby novanilla » Sat Mar 10, 2012 5:28 pm

I don't understand what the problem is here. I have 1.1.5 installed, and I've tested permissions for normal users. The only issue I see is in gallery/index.php, a normal user can see the "moderator control panel" link. But when it's clicked, there is (fortunately) a "you don't have authorization to view this page" message. Am I missing other problems and security issues?
novanilla
Donator
Donator
 
Posts: 31
Topics: 7
Images: 1
Joined: Sat Jan 17, 2009 4:45 pm

Re: Berechtigungen arbeiten nicht richtig

Postby nickvergessen » Tue Mar 13, 2012 11:26 pm

You must not delete all content from phpbb_gallery_users, but only from the column user_permissions.
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Berechtigungen arbeiten nicht richtig

Postby photodrome » Tue Mar 13, 2012 11:37 pm

That didn't work for me, i tried that first, but the persmissions where broken again. Need to be said, i do not have any personal albums, so i don't know how much that differs form others :)
User avatar
photodrome
Donator
Donator
 
Posts: 18
Topics: 3
Joined: Sun Aug 14, 2011 6:28 pm

Re: Berechtigungen arbeiten nicht richtig

Postby nickvergessen » Tue Mar 13, 2012 11:39 pm

If you recalculcate the number of images uploaded afterwards it should not harm really
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Previous

Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests

 

cron