Register   Login
     
  Latest Posts  
RE: PA Features & Enhancements
by smcculloch on 1/08/2009 4:33 AM
RE: PA Features & Enhancements
by georgelew on 1/08/2009 4:28 AM
RE: Search Wildcard Problem!
by smcculloch on 1/08/2009 4:24 AM
RE: Search Wildcard Problem!
by georgelew on 1/08/2009 4:19 AM
RE: Does anyone have XHTML Compliant PA Template
by georgelew on 1/08/2009 4:11 AM
RE: Help! Cannot use "&" in CustomField.
by georgelew on 1/08/2009 4:01 AM
RE: Comments not posting
by smcculloch on 1/08/2009 2:55 AM
Does anyone have XHTML Compliant PA Template
by tmahmud on 1/08/2009 1:04 AM
RE: Comments not posting
by WillJean on 1/08/2009 12:53 AM
RE: Comments not posting
by smcculloch on 1/08/2009 12:24 AM
  Forums  
Subject: Upload permission
Prev Next
You are not authorized to post a reply.

Page 1 of 212 > >>
Author Messages
Benny FeathersUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:44


7/03/2005 9:15 PM  

Scott, is there anyway to give registered users "upload" permission only? If I set the edit module rights to registered users,the can also edit view options and Edit albums. I would like for them to be ables to upload the pics but not be able to edit anything else.

Thanks

Ben

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12799


7/03/2005 9:18 PM  
Not at the moment, but it would be a good idea to seperate out. I'll add to it to the list.

Scott McCulloch
Site Administrator
Benny FeathersUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:44


7/04/2005 8:48 AM  
Posted By smcculloch on 7/3/2005 9:18:02 PM
Not at the moment, but it would be a good idea to seperate out. I'll add to it to the list.


Hi Scott,I donwloaded your source for the simple gallery and did the fix myselft. I just changed the View Options and Edit Albums security level access to admin and left the Add Photo to edit in the gallery.vb. Works like a charm.

thanks for providing the source. Your Gallery rocks!

Ben

Benny FeathersUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:44


7/04/2005 9:17 AM  
Almost forgot....You have to Remove the "Edit Album" link from the EditPhoto.ascx. Since this is accessible from the Hove menu when logged in as admin anyway.
Benny FeathersUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:44


7/04/2005 1:17 PM  

Hmmmm, Turning into more of a project than I thought...lol..Im not  a programer at all, But what I wanted to do is to test  to see if security.securityAccessLevel.Admin  is true in the cmdDelete_click event before it would allow deletion of a pic.If not then the control is invisible else visible. That way only admin is able to delete pics. This is in the EditPhoto.ascx.vb

Is this possible ? Could someone post some code if it is?

Thanks

Ben

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12799


7/04/2005 5:01 PM  
Posted By big146 on 7/4/2005 1:17:45 PM

Hmmmm, Turning into more of a project than I thought...lol..Im not  a programer at all, But what I wanted to do is to test  to see if security.securityAccessLevel.Admin  is true in the cmdDelete_click event before it would allow deletion of a pic.If not then the control is invisible else visible. That way only admin is able to delete pics. This is in the EditPhoto.ascx.vb

Is this possible ? Could someone post some code if it is?

Thanks

Ben


You can check for admin like this:-

PortalSecurity.IsInRoles(PortalSettings.ActiveTab.AdministratorRoles) = True

The problem with seperating Admin/Edit like this, is that some people might want roles with edit access to create albums. I'll see what I can in allowing the administrator to specify a role for upload access only. (they probably shouldn't be allowed to edit existing entries too)

What do others think?

Scott McCulloch
Site Administrator
scotthUser is Offline

Posts:0

7/04/2005 6:55 PM  
Count me in, as I can see the value in allowing users to post to a previously configured album.
Benny FeathersUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:44


7/04/2005 9:45 PM  

That would be nice to be able to set access roles to the module. If Registered users can just upload and not be able to delete or edit anything without admin doing it for them.That way they cant go in and delete pics that others upload.

Thanks Scott for the code!(im gonna go stare at it forawhile now

Ben

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12799


7/04/2005 9:47 PM  
I think I have a good idea for this:-
  • Allow Photo Submission (Choose Roles)
  • Edit Exisitng Photo(s) (Choose Roles)
  • Allow Album Creation (Choose Roles)
  • Edit Existing Album(s) (Choose Roles)
View options would be just for people with edit access on the module. (Someone with edit access will automatically have the above)

Is that detailed enough?

Scott McCulloch
Site Administrator
Benny FeathersUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:44


7/04/2005 10:09 PM  
Posted By smcculloch on 7/4/2005 9:47:01 PM
I think I have a good idea for this:-
  • Allow Photo Submission (Choose Roles)
  • Edit Exisitng Photo(s) (Choose Roles)
  • Allow Album Creation (Choose Roles)
  • Edit Existing Album(s) (Choose Roles)
View options would be just for people with edit access on the module. (Someone with edit access will automatically have the above)

Is that detailed enough?


That would be great..I think you would have an even more popular gallery Module with those enhancements.Total control over it.

Thanks Scott

Jason KoskimakiUser is Offline
Registered Users
Nuke Wiz
Nuke Wiz
Posts:194

7/06/2005 8:44 AM  
Posted By smcculloch on 7/4/2005 9:47:01 PM
I think I have a good idea for this:-
  • Allow Photo Submission (Choose Roles)
  • Edit Exisitng Photo(s) (Choose Roles)
  • Allow Album Creation (Choose Roles)
  • Edit Existing Album(s) (Choose Roles)
 
 
 
I would like to see 2 additional options:
Moderate Submitted Photo
Moderate Submitted Album

This would be for the use case where you either want to allow all your users the opportunity to submit photos or don't 100% trust the ppl who you do allow to upload. You can choose to approve photos before they are posted rather than edit\delete them later.

Also, I would consider this a great feature for the simple gallery. As it is a core\architecture type feature.

I would like to see the simple gallery consist of features like this and reserve the extra options to watermark, subcategory, email, slideshow etc... for an enhanced version.

Jason


Social Networking Site for Young Professionals - My DNN Site w/ lots of Ventrian Modules
scotthUser is Offline

Posts:0

7/06/2005 7:34 PM  

>>allow all your users the opportunity to submit photos or don't 100% trust the ppl who you do allow to >>upload. You can choose to approve photos before they are posted rather than edit\delete them later.


Agreed, nice suggestion.

Kelly CampbellUser is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:2

7/10/2005 6:39 PM  

Greetings,

I like the idea of the roles previously mentioned.  I would like to make one suggestion/comment.  If someone uploads a picture, I think they should retain the right to delete it.  That way if they upload the wrong picture by mistake they can delete the picture without involving an admin.

I think it's important for folks not to be able to delete pictures that others upload.  For my particular application I don't want folks to look at a picture and say "eww...that's not a good picture of me" and delete the photo.

Regards,

kc

Benny FeathersUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:44


7/11/2005 12:35 PM  

I just bought Ricecheese's Photo album thinking that it would allow Registered users to upload photos without being able to delete others photos.(I went to the demo website but it was down..so could not test).

Anyhow...back to square one...his module does allow for upload of registered users without them being able to edit the album,but they can also delete others users photo too.

I find it hard to believe that no one has implamented security level access down to the photo level.

If you can implent the features suggested here Scott,your Simple Gallery will go through the roof.

Lesson learned....I will just wait on your updates

thanks

Ben

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12799


7/11/2005 9:28 PM  
Question, should this be at the album or module level?

I can understand why it should be at the album level, but I know it's pain if you ever have to reset permissions.

Scott McCulloch
Site Administrator
Zivan Van ZylUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:49

7/11/2005 11:47 PM  
For me, it would be marvelous if :

1) The user can subscribe to a certain role that (once payment has been received) allows them to create one album. I think (and I may be wrong here) that this is already possible via DNN (setup a role for subscription and give that role edit permissions on the module instance?).

2) From there on out, adding and editing images is simply restricted to whoever created the album, and administrators of course. That way, you may not have to keep any security settings on the album level - other than storing the user who created the album - since whoever creates the album is always assumed to be the editor of the album. Later on, you could add functionality to allow the admin (or maybe even the creator of the album) to arbitrarily add users to the list of users allowed to edit the album. It may be prudent to allow administrators to at least change the "owner" of the album just in case the admin has to create the album for the user, and then let him edit it from that point on.

3) Finally, I would like the user to have the ability to set a "view" password for the album so they can restrict viewing of the album to friends and family they give the password to.

So basically, album creation at the module level via security roles, and album editing at the album level (by checking the creator). The "view" password thingy will have to be stored at the album level as well. That would do it for me :-)
Jason KoskimakiUser is Offline
Registered Users
Nuke Wiz
Nuke Wiz
Posts:194

7/18/2005 11:13 AM  

As far as album\module level permissions, my vote would be for module level. It would be a pain to have to reset permissions for each album as you go. Unless, the albums would default to a configurable module level if you don't specifiy per album settings. But then that's really starting to get overly complicated. An easy solution covering the most common likely use case might be to have an 'owner' role. It also allows for a lot of flexibility.

Here is a suggested list of possible features that would need security roles. My suggestion would be to have an additional "role" for owner. So if you are the person who created\uploaded the album or photo, the admin can choose what permissions you have. As far as scope, I assumed module level on all.


CREATE ALBUM
scope: module level
permission options: standard DNN roles

DELETE\EDIT ALBUM
scope: module level
permission options: standard DNN roles and album owner

UPLOAD PHOTO(S)
scope: module level
permission options: standard DNN roles and album owner

DELETE\EDIT PHOTO(S)
scope: module level
permission options: standard DNN roles and album\photo owner

MODERATOR - APPROVE ALBUMS\PHOTOS
scope: module level
permission options: standard DNN roles and album owner


Social Networking Site for Young Professionals - My DNN Site w/ lots of Ventrian Modules
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12799


7/18/2005 5:54 PM  
Posted By koskimaki on 7/18/2005 11:13:56 AM

As far as album\module level permissions, my vote would be for module level. It would be a pain to have to reset permissions for each album as you go. Unless, the albums would default to a configurable module level if you don't specifiy per album settings. But then that's really starting to get overly complicated. An easy solution covering the most common likely use case might be to have an 'owner' role. It also allows for a lot of flexibility.

Here is a suggested list of possible features that would need security roles. My suggestion would be to have an additional "role" for owner. So if you are the person who created\uploaded the album or photo, the admin can choose what permissions you have. As far as scope, I assumed module level on all.


CREATE ALBUM
scope: module level
permission options: standard DNN roles

DELETE\EDIT ALBUM
scope: module level
permission options: standard DNN roles and album owner

UPLOAD PHOTO(S)
scope: module level
permission options: standard DNN roles and album owner

DELETE\EDIT PHOTO(S)
scope: module level
permission options: standard DNN roles and album\photo owner

MODERATOR - APPROVE ALBUMS\PHOTOS
scope: module level
permission options: standard DNN roles and album owner



Thank you -- this greatly helps!

The DNN Permissions actually do work in extending them (e.g. permissions table) but when you add to that table it applies to all modules. I hope soon you can add those custom permission at just a module level so you can do things like this very easily.


Scott McCulloch
Site Administrator
Howard DraperUser is Offline
Gold Membership

Posts:50


8/03/2005 1:08 PM  

Hi, the above security models would solve my problems as I have this very issue currently. Multiple users who all need varying levels of access to upload and edit but I wouldn't want them to be able to change settings.

Pushy i know but any idea when we could see this sort of feature?

Thanks

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12799


8/03/2005 5:47 PM  
Posted By cptkoi on 8/3/2005 1:08:04 PM

Hi, the above security models would solve my problems as I have this very issue currently. Multiple users who all need varying levels of access to upload and edit but I wouldn't want them to be able to change settings.

Pushy i know but any idea when we could see this sort of feature?

Thanks


Very soon, there is a big release of Simple Gallery coming that I am trying to fit this feature into..

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Page 1 of 212 > >>

Forums > Modules > Simple Gallery > Upload permission



ActiveForums 3.7