Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1] 2   Go Down

Author Topic: problem when i change permissions  (Read 23417 times)

0 Members and 1 Guest are viewing this topic.

Konstantinos

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
problem when i change permissions
« on: April 01, 2006, 09:07:37 pm »

I have created a custom group where it is able to upload to public albums while the register group i want to have only private albums. when i go to edit the groups when i select the register group to Public albums upload NO then they cant upload neither to private albums cause the Upload image link in the menu gets lost. I have to allow Public albums for registered members to Yes in order the registered to upload pics but then they can upload pics to public albums which i dont want. Visitors can upload files for the public albums is set to yes .Any help ?

gallery is at http://www.hairtransplantphotos.net

test login test/test

here are my permissions
« Last Edit: April 01, 2006, 09:30:03 pm by Konstantinos »
Logged

Nibbler

  • Guest
Re: problem when i change permissions
« Reply #1 on: April 01, 2006, 09:43:44 pm »

Use album properties to control upload rights.
Logged

Konstantinos

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
Re: problem when i change permissions
« Reply #2 on: April 01, 2006, 10:30:29 pm »

there is a problem here. The problem is that when i set in group Permissions Registered members Public Upload to NO they cant even upload private. The dont have access to update.php.  No matter what i set to album properties
Logged

Nibbler

  • Guest
Re: problem when i change permissions
« Reply #3 on: April 01, 2006, 10:44:43 pm »

Set Public upload to YES, and then disable uploads to the public albums in album properties.
Logged

Konstantinos

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
Re: problem when i change permissions
« Reply #4 on: April 01, 2006, 10:47:16 pm »

this will work for the registered users. But i want 2 custom groups that i created to be able to post pics in the Public albums while the register wont. This is something i cant do
Logged

Konstantinos

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
Re: problem when i change permissions
« Reply #5 on: April 02, 2006, 08:43:07 am »

it seems to be a bug and u need to check it. when i set registered users public uploads to NO they cant upload NOTHING. this isnt what it should be like. U cant have registered users post in only public galleries and a custom usergroup to upload in ALL categories.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: problem when i change permissions
« Reply #6 on: April 02, 2006, 11:18:58 am »

expected behaviour
-If you don't allow registered users to upload to public galleries and they actually can't do that then this is pretty much perfect.
-If you create another usergroup and give that groups members the permission to upload to public albums and they are able to do so... cool. As it should be.

Konstantinos

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
Re: problem when i change permissions
« Reply #7 on: April 02, 2006, 11:27:17 am »

when i apply permissions to album Visitors can upload files then the registered users can upload too. this is not what i want, i want ONLY the custom group to be able to upload files in public galleries and registered groups to upload ONLY private. can i send to someone my admin login to check it out ?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: problem when i change permissions
« Reply #8 on: April 02, 2006, 11:34:38 am »

can't replicate your problem.
I've two groups, registered and test
registered: 'Public albums upload' no
test: 'Public albums upload' yes

test can upload, registerd not

Konstantinos

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
Re: problem when i change permissions
« Reply #9 on: April 02, 2006, 11:40:21 am »

when i set for registered users Public uploads to NO they CANT even upload to PRIVATE ALBUMS, The upload link is gone and they dont have access to upload.php
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: problem when i change permissions
« Reply #10 on: April 02, 2006, 11:45:17 am »

the test user account you posted in your initial posting doesn't work for me, so I can't replicate your issues.
Logged

Konstantinos

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
Re: problem when i change permissions
« Reply #11 on: April 02, 2006, 11:46:10 am »

try test with pass 111
« Last Edit: April 02, 2006, 11:56:55 am by Stramm »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: problem when i change permissions
« Reply #12 on: April 02, 2006, 11:58:40 am »

I've deleted your admin login.. don't post that publically and better to change it asap

I've seen what you mean and it needs looking into. Have replicated that behaviour on my own test install
moving to bugs board
« Last Edit: April 02, 2006, 12:15:45 pm by Stramm »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: problem when i change permissions
« Reply #13 on: April 02, 2006, 01:25:29 pm »

after having a quick look I've seen that's actually the way cpg handles upload permissions. Would mean some coding top achive the desired effect.
Maybe something to consider for future versions??

Konstantinos

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
Re: problem when i change permissions
« Reply #14 on: April 02, 2006, 01:56:22 pm »

will there be any bugfix soon ? i cant launch my gallery since i cant apply the permission they way they should be
Logged

Nibbler

  • Guest
Re: problem when i change permissions
« Reply #15 on: April 02, 2006, 02:02:11 pm »

This isn't a bug. 'Public albums upload' in 1.4 in the same setting as 'Can upload files' from 1.3. It's a global setting.
Logged

Konstantinos

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
Re: problem when i change permissions
« Reply #16 on: April 02, 2006, 02:05:00 pm »

well as i said i can not do what i want. I want registered users to be able to upload ONLY to private galleries and custom groups to be able to upload in ALL categories. and this is something i can not do . Stramm said the same thing
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: problem when i change permissions
« Reply #17 on: April 02, 2006, 02:09:06 pm »

I suggested considering to change that behaviour within the next version. If you really need what you've written above then core code in several files needs to be changed. That's not done in a few mins

Konstantinos

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
Re: problem when i change permissions
« Reply #18 on: April 02, 2006, 02:58:22 pm »

So i guess the best thing whould be to have 3 settings for upload permissions per group

a) Can upload pictures ?
b) Can upload to public albums ?
c) Can have personal gallery?

if b is set to No for registered users and set to Yes for a custom created group then registered users will be able to upload only to private albums while the custom group will be able to upload everywhere. i think is something important...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: problem when i change permissions
« Reply #19 on: April 02, 2006, 08:58:02 pm »

permission issues are very complex - having some checkboxes or radio buttons on a screen where you set permissions is pretty easy. Creating the needed background (core code) with queries etc. is quite complex. Different permission models have been discussed on the developer-only board. We're not quite sure what will be realized in future versions. I'm not even sure that this is going to go into cpg1.5.x, but rather in the distant future.
Logged
Pages: [1] 2   Go Up
 

Page created in 0.023 seconds with 19 queries.