Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Best Practices - Security Roles and Permissions
Best Practices - Security Roles and Permissions [message #1691365] Mon, 06 April 2015 15:57 Go to next message
Peter Pfeifer is currently offline Peter PfeiferFriend
Messages: 213
Registered: November 2014
Senior Member

Hi there,

I wracked my brain the whole weekend, but I don't have a clue how to use permissions properly....

Here is my situation: I have got 3 types of users:

  • Normal Users
  • Power Users
  • Admins


Normal User should only see their own orders the have placed their own orders and the can only edit their own user profile. And they have got a power user assigned.

A Power User can place orders for the normal users and create/add normal users to the
application.

And adnmin of course can do everything.

I'm not sure if i need permissions at all. Because depending on the user role I only have to adjust the where clauses of my SQL statement. I guess...

But I'm not sure, if there is a way to do this with permissions as well?

Are there any best practices for such kind of thing?

Regards, Peter


Re: Best Practices - Security Roles and Permissions [message #1692329 is a reply to message #1691365] Wed, 15 April 2015 07:14 Go to previous message
Urs Beeli is currently offline Urs BeeliFriend
Messages: 573
Registered: October 2012
Location: Bern, Switzerland
Senior Member
Have a look at the following extension to the Minicrm Tutorial which explains permissions and permission groups quite well:

https://wiki.eclipse.org/Scout/Tutorial/4.0/Minicrm/Permissions
Previous Topic:Mars M5 Release and Existing Projects
Next Topic:Toolbar doesn't show any Icons
Goto Forum:
  


Current Time: Fri Apr 26 20:59:07 GMT 2024

Powered by FUDForum. Page generated in 0.03240 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top