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 ForumsForm and ListForm and ListCan UDT do this...Can UDT do this...
Previous
 
Next
New Post
7/8/2008 8:39 AM
 

I'm hoping Sebastian might be able to shed some light on whether UDT can do this sort of thing:

The most basic functionality I require is as follows:

  • A site owner stores bottles of wine for people - like a rental wine cellar.
  • The site owner would manually update an online database of stored wines (UDT?) .
  • The important feature is that clients could sign in and only see the wines that belong to them
  • Only the site owner should be able to see all wines of all clients and edit them.

The tricky bit is how to let the site owner assign entries to specific users and then how to restrict the displayed entries to the ones the user owns. it's like having user-specific content.

As well, the site owner can't have admin permissions. They need to be able to edit entries with only module edit permissions. UDT seems to work like this already so that's good.

Can this be done in UDT, or perhaps another module? I've assessed hundreds of modules and haven't got one for this type of function. UDT seems close, but I don't know for sure.

Any advice is very much appreciated!

Rob

 
New Post
7/8/2008 2:17 PM
 

Hi rob,

using the new userprofileLink datatype, you can specify the Wine owner per record, e.g. in a field owner. Second, use a filter statement like 
"Owner_UDT_Original = [User:UserID] OR [User:Roles] Like '%Administrators%'

to limit view to desired records..


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/8/2008 2:38 PM
 

Hello Sebastian ? Rob, Sebastion this question looks similar to what i had been looking for, and now i am a little confused as i thought it could not be done that admin could assign the user in admin role, am i mis understanding or is there an answer to this i did not understand correctly?

 

 
New Post
7/8/2008 4:13 PM
 

Pete,

the configuration I described does not use createdBy or updatedBy and does not provide security for editing rows. Rob asked for being able to limit view permission and this can be done by using a custom filter in UDT 3.5


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/14/2008 2:01 AM
 

Sebastian Leupold wrote

using the new userprofileLink datatype, you can specify the Wine owner per record, e.g. in a field owner. Second, use a filter statement like 
"Owner_UDT_Original = [User:UserID] OR [User:Roles] Like '%Administrators%'

Hi Sebastian,

Thanks for the reply. I'm afraid I'm a complete noob as far as this module is concerned.

I had created a column with the User Profile Link type, but I find that when one adds a record it just has an empty field for the login name. Is there any way that this can be made to let one choose from a list of actual users.. or preferably their actual names? I'm not sure how the person entering data would work with this.

The other thing about adding the filter sounds like it is the right stuff, but I'm getting an error message. I went into Manage Table and pasted the code into the "Filter Statement" field under Grid Table settings.

Owner_UDT_Original = [User:UserID] OR [User:Roles] Like '%Administrators%'

Is that the correct place? The page says "Unsupported Filter Statement (Cannot find column [User:Roles].)" and when I examine the Tokens Help link, I can't see [User:Roles] listed.

Any further advice is greatly appreciated.

Rob

 

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListCan UDT do this...Can UDT do this...


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