Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryLogged in user name overrides submitted By user when moderatingLogged in user name overrides submitted By user when moderating
Previous
 
Next
New Post
6/2/2006 11:18 AM
 
Hello

I haven't managed to work out if this is a bug or not. Basically an anonymous user (or possible a logged in user) submits something for approval. An Admin logs in and the listing is in edit mode. Now the admin's name and address are hardcoded into the name and email fields (where the submitted person's details should be) - I am not sure what happens when you save it - but I assume the form will override the saved values with the logged on user's (Admin's) values (my template does not show the email, so I can't tell if they are being overwritten in the db).

You also can't edit the fields if you are logged on - sometimes you want to submit a file on behalf of someone else or for a different contact person. But I am more concerned that I am overwritting people's contact details with mine when I review and save listings.


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
6/2/2006 11:35 AM
 

Rodney,
When editing an item, the user info is not overwritten even though it's showed on the form

                ' the author field and should only be populated on new uploads, not edits.
                ' Persist the UserId during edits even if edited by an admin or super user account
                Dim AuthorField As TextBox = PlaceHolder.FindControl("__AuthorName")
                If Not AuthorField Is Nothing Then
                    If objRepository.ItemId = -1 Then
                        objRepository.Author = AuthorField.Text.Trim()
                    End If
                End If

On your second concern, you are correct, you cannot submit something on someone else's behalf. When uploading an item the user info for the logged in user is stored as the author

 
New Post
6/2/2006 2:14 PM
 

Thanks for your prompt answers Steve. Sorry, I have not installed the source version yet - just hacking templates and loving it  ;)


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryLogged in user name overrides submitted By user when moderatingLogged in user name overrides submitted By user when moderating


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out