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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DotNetNuke 5.1 User Accounts Not Actually Deleted?DotNetNuke 5.1 User Accounts Not Actually Deleted?
Previous
 
Next
New Post
8/3/2009 6:50 PM
 

If module developers are allowed to place Foreign keys on Core tables how can the core tables ever be modified?

If the Core wants to copy a table to a temp table and drop that table and then recreate it and copy the data back, how can they do that if an unknown number of 3rd party modules have placed Foreign key relation ships on them?

 



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
8/3/2009 9:11 PM
 

Jay, Mike,

though I see your point of view and understand your use cases, there are some additional needs, we have to take into account:

  • MS Membership provider had been chosen to provide best interop options with other .Net applications. unfortunately there are some constraints in the original provider interface, limiting extensibility of membership now
  • "Authorized" has a different meaning depending on registration mode. When using "verified", it states a valid email address. I agree, it would be preferable to have different flags instead, but atm we have to accept it.
  • Soft delete is a new feature, which has room for improvements, as currently logged enhancement requests indicate.I am sure, this will be handled appropriately to available resources and priority.

Seconding Michael, 3rd party modules should NOT rely on core data structure, but on supported API only - though I admit, there is room for improvement in this area - for both, providing appropriate subscribable events as providing in depth documentation. 


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/4/2009 4:57 PM
 

mikez wrote

To add to the debate...
Soft user delete is an unfinished feature.  I looked thru the code and there are significant code changes to implement this feature so far.  There has to be a roadmap detailing the final goal.  I suspect that this was implemented to satisfy a PE user.  This will adversely affect PE & CE users.

I'll ask the question again:
What is the "Practical" difference between "unauthorized" and "soft user delete"? 

Here is some code to "undelete" a user.

Dim objuser As UserInfo = Nothing
objuser = UserController.GetUserByName(PortalId, "joe")
If objuser.IsDeleted Then
   objuser.IsDeleted = False
   UserController.UpdateUser(PortalId, objuser)
End If

When you "undelete" an unauthorized user that was deleted, the account is still unauthorized after it is undeleted.


mikez

 

Can you select the soft-deleted user by simply doing the "GetUserByName" call? I would have assumed that the user would not have been available.

 
New Post
8/4/2009 7:12 PM
 

PHD,

The code works as shown. 
I put it in a simple module to test.

All accounts are still there. 
The DNN_UserPortals table contains the "IsDeleted" field that is set when you delete a user. 
The DNN_Users table also contains an IsDeleted field but it is not being used.
 

mikez

 
New Post
8/4/2009 7:15 PM
 

mikez wrote

The ...Users table also contains an IsDeleted field but it is not being used.

The Users.IsDeleted column is utilized for deleted host accounts.

Brandon


Brandon Haynes
BrandonHaynes.org
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DotNetNuke 5.1 User Accounts Not Actually Deleted?DotNetNuke 5.1 User Accounts Not Actually Deleted?


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