Delete user


Author
Message
Teddy Jensen
Teddy Jensen
StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)
Group: StrataFrame Users
Posts: 52, Visits: 8K
Isn't possible to delete a user via the Security dialog anymore?

According to the documentation there used to be a delete user button and also an option to delete in the user context menu:

Has this functionality been removed? Hopefully not, because some of my customers has the need for deleting users, and it will be to bad to plumb this in my self every time SF comes in a new version.

/Teddy 

Replies
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I'll pass this question/comment on to Dustin/Trent and get their take on it. My take is that this falls into the "dangerous" category. I'm sure there are situations were you could just allow the user's to be deleted, if the user ID is tracked no where and and never used in reports etc. However, the danger I see is that it would be real easy to miss this little detail when you decide to track the user for something, and that could lead to broken rules/bugs.  Further, if there is a strong need to delete users, you could build your own tool to do that. 
Alex Luyando
Alex Luyando
StrataFrame User (298 reputation)StrataFrame User (298 reputation)StrataFrame User (298 reputation)StrataFrame User (298 reputation)StrataFrame User (298 reputation)StrataFrame User (298 reputation)StrataFrame User (298 reputation)StrataFrame User (298 reputation)StrataFrame User (298 reputation)
Group: StrataFrame Users
Posts: 112, Visits: 1.2K
Greg McGuffey (11/16/2010)
I'll pass this question/comment on to Dustin/Trent and get their take on it. My take is that this falls into the "dangerous" category. I'm sure there are situations were you could just allow the user's to be deleted, if the user ID is tracked no where and and never used in reports etc. However, the danger I see is that it would be real easy to miss this little detail when you decide to track the user for something, and that could lead to broken rules/bugs.  Further, if there is a strong need to delete users, you could build your own tool to do that. 


Thanks, Greg. I see the concern, but at the same time I can see being able to have sufficient safeguards in the framework to ensure that only users that can be deleted are (i.e., preventing orphaned records). In such cases I think the [  ] inactive flag is a great solution.

Looking at it from another perspective, I'm not a huge fan of developers having to become part of a production application's operational flow. I want to be able to head off to Aruba at any time and not have to worry that our security admin wants to delete a user and has to wait for me to return. Smile

________________
_____/ Regards,
____/ al
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Here is the "official" stance at this time, from Trent:

You can't delete the security users as it is a breach of security standards.  One of the primary things here to keep in minds is being able to track all of your application records and who created them.  For example, every single table that we create has a user tag on it and every row that gets created stamps that row with the user that is currently logged in.  If you delete that user, then you will never be able to determine who created that row.

It is, as a standard, bad mojo to allow users to be deleted.  In fact, Microsoft and other security tools and systems prefer making users inactive instead of deleting the user.  If you'll notice, you can delete a user through the design-time editor, just not the run-time.

As I mentioned, if it is really, really important for your app, just build a dialog to facilitate this. If you are only using the user to grant access (and never store the user ID anywhere) then you only have to deal with removing the links to roles and permissions.  We can help out if you go down this road.

And I hear Aruba is lovely this time of year  Wink


Ivan George Borges
Ivan George Borges
Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Yep, best windsurf spot I've ever been! Cool
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Greg McGuffey (11/18/2010)
And I hear Aruba is lovely this time of year  Wink


Also consider Punta Cana in the Caribbean, wonderful and a lot of resorts to choose from and very affordable.  Man, I need a vacation soon Crazy

Edhy Rijo

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Teddy Jensen - 16 Years Ago
Dustin Taylor - 16 Years Ago
Alex Luyando - 15 Years Ago
Greg McGuffey - 15 Years Ago
                     [quote][b]Greg McGuffey (11/16/2010)[/b][hr]I'll pass this...
Alex Luyando - 15 Years Ago
                         Here is the "official" stance at this time, from Trent: [quote] You...
Greg McGuffey - 15 Years Ago
                             Yep, best windsurf spot I've ever been! :cool:
Ivan George Borges - 15 Years Ago
                             [quote][b]Greg McGuffey (11/18/2010)[/b][hr]And I hear Aruba is lovely...
Edhy Rijo - 15 Years Ago
Alex Luyando - 15 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search