Request for coding help : User Security Levels + Image Levels for viewing

Begonnen von Beyond_Doubt, 16 März 2006, 22:26:34

⏪ vorheriges - nächstes ⏩

0 Mitglieder und 1 Gast betrachten dieses Thema.

Beyond_Doubt

This is a request similar to the answer that can be found in this thread here.

I have a bridged version of Coppermine into PragmaMx
Coppermine is version 1.4.4

I need to be able to assign a User Level to each and every user (selectable from Edit User screen in Admin section)
There will be 4 User Levels and they should be such that in use they grants access to images at that level, and the levels below it.
The lowest level will not be able to access the Coppermine module at all (already part of the PragmaMx setup)

(Possible all four Levels are seperate Fields in the database, each with a Yes / No option?)

When uploading an image to the gallery the uploader must be able to select the Level that he wishes to restrict access to.
For example, he uploads and selects Grade 3. Thereafter only Levels 3 and 4 can see that image.
Level 2 will see nothing. He should not be aware that an item has been loaded.
The protection must stop random guessing to the PictureID number.
Level 1 cannot see the gallery.

(A drop down box with the level selectable in upload screen?)
(A check done when viewing thumbnail albums that user Security Level => Image Level ?)

I am hoping to have this done for the end of March, and for something in the region of $50.

I have also posted this on the CPG board.

Cheers!

Beyond_Doubt

It could be that the standard access control is left as it is.
You can either see the module, or you cannot.

And then an extra check is made on 3 new fields in the database.

This would probably require the least effort in coding.
1) Add three fields to User table in DB.
2) Add a three fields into the Image table in the DB.
2) Add three input boxes onto the Edit User admin screen (yes/no)
3) Add three input boxes onto the Image Upload screen (yes/no. All default to Yes giving the least protection)
4) Add a php check to see that user Security Level => Image Level

Does this seem sensible?

Beyond_Doubt

Damn, sorry for the repost. I thought I was editing my original post.

Did I mention I can't read a word of German? :-D


Zitat von: Beyond_Doubt am 16 März 2006, 22:26:34
This is a request similar to the questions that can be found in these threads here and in here.

I have a bridged version of Coppermine into PragmaMx
Coppermine is version 1.4.4

I need to be able to assign a User Level to each and every user (selectable from Edit User screen in Admin section)
There will be 4 User Levels and they should be such that in use they grants access to images at that level, and the levels below it.
The lowest level will not be able to access the Coppermine module at all (already part of the PragmaMx setup)

(Possible all four Levels are seperate Fields in the database, each with a Yes / No option?)

When uploading an image to the gallery the uploader must be able to select the Level that he wishes to restrict access to.
For example, he uploads and selects Grade 3. Thereafter only Levels 3 and 4 can see that image.
Level 2 will see nothing. He should not be aware that an item has been loaded.
The protection must stop random guessing to the PictureID number.
Level 1 cannot see the gallery.

(A drop down box with the level selectable in upload screen?)
(A check done when viewing thumbnail albums that user Security Level => Image Level ?)

I am hoping to have this done for the end of March, and for something in the region of $50.

I have also posted this on the CPG board.

Cheers!