How to implement user (specific application) in pl/sql roles

Hello
I have an application that stores information for project management. This information is accessible by users who may have different roles with different privileges (for example, project_manager role with privileges to view/update schedule/cost/skills data, developer of role with privileges to view data to schedule etc.).

Based on the role assigned to a user, the pl/sql code should hide information or prevent updates when requestd by the user.

One way to implement it is using very rough logic (a role table and if else or switch case) while selecting / update of the data.
This logic works perfectly with a handful of roles/privileges and very less information (tables/columns); but gets messy with increase of roles and information. In addition, it is not easy to maintain.

All the world is facing a similar problem before?
Is there an effective method to implement this kind of security policy in pl/sql?

Thank you
Kedruwsky

Watch beautiful grains of access control
http://www.psoug.org/reference/dbms_rls.html

and DBMS_APPLICATION_INFO. READ_CLIENT_INFO
http://www.psoug.org/reference/dbms_applic_info.html

and similar functions based on the function SYS_CONTEXT
http://www.psoug.org/reference/sys_context.html

Tags: Database

Similar Questions

  • How to uninstall a specific application, such as Photoshop CS6?

    How to uninstall a specific application, such as Photoshop CS6?

    Thank you

    Max

    Hi Max,.

    If you wish to uninstall a specific application, then please follow the below mentioned steps.

    For windows,.

    Go to the Panel and find Photoshop uninstaller it and use the same uninstall the product.

    For Mac,.

    Navigate to Uitilies > Adobe installers and find the program to uninstall Photoshop and use the same uninstall the product.

    See you soon,.

    Michael Sharma

  • No user specific applications?

    Hello

    I read in the guidelines for the supply of Playbook (or could have Conditions) that the application cannot be specific to a user or the company. This includes an application that requires a paid of pre-existing service? For example, a company that provides a service for fees, then a Playbook application when the user credentials are entered will allow the management of this user for the specific company account?

    If you have an application owner of company which is useless or inaccessible to the public, then that is not suitable for the offer.  It should be useful to the general public.

  • Startup - how can I prevent specific applications to open?

    For some reason, Spotify opens automatically whenever I start.  Don't know how to stop this from happening?  It's annoying to close it everytime I open the computer.

    It's probably something very simple, but I'm new to OS.  Thank you.

    See the list of the login in the pane items accounts or users and groups to the system preferences and if you get a prompt to stop asking you if you want to reopen the windows when you connect, clear this option.

    (137850)

  • How to download a specific application, while others is downloaded qued in win8 store?

    I am trying to download an application on windows app store, its qued for a long tie and does not download even if results using the 3 g connection and have spent more than 2 GB of data.

    Hi Alexia,.

    You use a Microsoft user account or a Local user account?

    If you encounter the problem of download with applications Windows Store, then it could be a problem with the Windows Store cache or database update of Windows could be damaged.

    Kindly, follow these methods and check if that helps.

    Method 1.

    Try to run the Troubleshooter of Apps. This tool can automatically identify and fix problems with applications and store.

    Method 2:
    If this does not help, try to clear the cache of Windows Store and try to install the apps.
    a. close the Windows store.
    b. press the Windows key + R to open the run window.
    c as. now in the run, window type wsreset.exe and press ENTER.
    d. this close Windows Store and Windows store opens automatically.

    Method 3:
    If this does not help, rename the software distribution folder and check the issue.
    a. press Windows key + X together, and then click prompt (Admin).
    b. Type net stop wuauserv and press ENTER.
    c. Type softwaredistribution.old rename c:\windows\SoftwareDistribution and press ENTER.
    d. Type net start wuauserv , and then press on enter.

    Now, try to download apps in Store.

    Let us know if it helps. If the problem persists, we will be happy to help you further.

  • How to make a specific application like Acrobat to uninsall

    I do not use Acrobat and it's 3 + G! I can just use the Windows uninstaller, or y at - it a particular procedure as disabling with apps unique?

    (In fact, there are 3 versions appearing in uninstall Windows)

    Hudechrome, yes you can simply use the control panel to uninstall Acrobat a part of the suite or a stand-alone product.

  • How to give Admin rights for specific applications in windows 7 Stater

    How to give Admin rights for specific applications in windows 7 Stater

    I have a problem in Windows 7 Stater Pack

    I do not know where to place the issue or create the question

    My problem is that I can give admin access to application specific to Windows 7 stater

    in fact I use photon AUNTIE I want to be accessed by a Local user Standard user is not an admin user

    Once I click on the icon of Photon to connect it always ask for admin password.

    I want to work on a local user without admin password

    Please help about this.

    Thank you.

    Hello

    Note: To be logged in as an administrator or enter creditionals administrator account to make changes

    Method 1:

    The prompt that you get is the setting on your computer user account control. You can change the setting and use them according to your requirements and run programs in the standard account. See the below links for more details-

    http://Windows.Microsoft.com/en-us/Windows7/what-is-user-account-control

    http://Windows.Microsoft.com/en-us/Windows7/how-do-I-change-the-behavior-of-user-account-control-by-using-the-slider

    http://Windows.Microsoft.com/en-us/Windows7/what-are-user-account-control-settings

    WARNING: User Account Control (UAC) can help you to prevent your computer from unauthorized changes. It works by asking permission when a task requires administrative rights, such as installing software or changing settings affecting other users. We do not recommend disable user account control. If you turn it off, you must reactivate as soon as possible.

    Method 2:

    You can even use the steps below and check-

    1. right click on the program file , click on Properties.

    2. now click on compatibility and select run the program as administrator.

    3. now click on change settings for all users and click ok. Now, check to see if the problem resolves.

    I hope this helps. Let us know the results

    It may be useful

  • How to remove a specific email inbox with the client application code?

    Hello

    How to remove a specific email inbox with the client application code?  Please suggest useful links.

    Advanced thanks.

    Concerning

    Sunil.G

    Your question is a bit broad, so it is difficult to give you details.

    First of all, you must have the ID of the original message. Usually, you get either by hanging the message when he came into the Inbox (by implementing FolderListener), or by retrieving a list of mail of enamel "Store".

    Once you have this message ID, you call Folder.deleteMessage ().

    Here, there is a laboratory of Developer:

    http://NA.BlackBerry.com/eng/developers/resources/Labs/listeningforemail.jsp

    Moreover, classes to look in the API of reference:

    Store

    Folder

    FolderEvent

    FolderListener

    Session

    ServiceConfiguration

    Message (message RIM, not the J2ME)

  • How to change the password for the service account for a specific application?

    PC is used by some employees at the workplace.

    A user has installed an application on this PC, all users can use this application with user password this person who has installed.

    After that the user who has installed an application has changed the password, the Application is locked.

    I heard that need to change the password of the service account for a specific application.

    How to do?

    Advice me please.

    Thank you

    It depends on the application itself. You could check the FAQ of the application or to re - install the application and ensure that it is available for all users of this machine.

  • How to allow users of the applications to create their own application user?

    Hello

    I need to allow users of my application to be able to manage the access control enforcement, which includes the creation of new users of the application.

    I tried to access control Page, even if it can "Add a user", but it does not capture passwords. So it seems access control Page can accommodate existing APEX users access applications.

    How can I accomplish my goal?

    Use a custom authentication process which is driven by one or more tables in your query...  Many examples available on the web...

    Thank you

    Tony Miller
    Software LuvMuffin
    Ruckersville, WILL

  • How to create users that can connect to the application?

    Hello


    As an example of Application provided by APEX, in this application, the administrator can create users and reset passwords, and the user can connect to this application. How is this happening?

    Now I know how to create users and reset passwords through the corresponding working table.

    But I don't know how to use the user to to connect to the application? I tried several times to use the user create by ADMIN to connect to the application, but I failed.

    I can't find any setting in the sample Application, but it do.

    If any good plans?

    I thank in advance.

    There are two ways you can handle this... Build users of the APEX and continued them through the api of the APEX (not recommended by what I saw several comments here, outside the development environment) OR in your application, you could build a custom authentication system...

    Here is a link to explain how make one:
    http://djmein.blogspot.com/2007/07/custom-authentication-authorisation.html

    Thank you

    Tony Miller
    Webster, TX

  • How to remove the oracle application user?

    Hi experts,


    How can I make user oracle application? I know only two options to lock and abandon backend as removing ro in fnd_users

    What is recommecnde? Please give the right way. "

    Thanks and greetings '
    VD

    Hello

    It's not a bug, user application records can be referenced in the databases/applications and their deletion would cause referential integrity problems.

    Kind regards
    Hussein

  • How to implement the global search

    Hello

    Oracle 11g ASM Linux

    Question: Being a DBA asked me to implement a global search.

    Scenario is:

    We have a single field in our java application in which if a user types something, it must analyze all tables in a particular pattern and results of this line.

    User can type anything and the application should display the results. Its a sort of i. advance search type you anything and it will give a structured result.

    Please guide me through the process, what I have to do a DBA?  and if we need any help from the user interface team?

    There are a few posts on the forum about it already, worth checking out them. First of all, it has links to examples, the recommendation of John Stegemans, this can be quite a demand for a model not designed for a contextual search, even Oracle text is around collections of documents for this.

    How to find a particular string in the entire schema?

    How to find a specific string in the entire database?

  • How to implement the process of climbing BPM 11 g?

    Hi Experts,

    Can any help with process step by step how to implement climbing for 3 levels...

    For example, User1 doesn't complete the task at some time say 1 day then this task must be wound to its Director Say User2 and if is not finish it even then it must be the second Director of level for 1 day as well for the third level manager.

    Note:
    Where as one when user 1 task is up to the manager (User2) then user 1 tasks should be sent to the User2, even if its value from table.

    Please please experts throw some idea on this with an example...


    Kind regards
    Pavan

    Hi Pavan,

    There are couple ways to do this. This is the very detailed description of what you would do if you want to set your climbing inside the process using the timer to limit events.

    1. Add three interactive activities and put them in three roles representing the roles for your users 1, 2 and 3.
    2. Add a "Timer intercept the event" on the edge of your Interactive activity for your user 1. Associate the new timer event with Interactive activity for your user 2. This will create a new event of border and climbing you want for the user 1.
    3. the name of the new event to limit 'Question degenerate'-> in the "Application" tab, define the new event of the timer limit as an event interrupting-> specify the range to be "1 d" (one day).
    4. in the same way, add another event of the timer limit interruption between your interactive for user 2 and 3 activities.

    I could have missed something, but it looks like your table is just a process data object variable that will be made as part of the payload with the work item instance when he travels through the process.

    For human tasks for user 2 and user 3, you must assign the task to the Manager of the previous participant.

    Hope this helps,
    Dan

  • Instruments of the sample of user-specific does not see EXS24

    Logic Pro X 10.2.0 EXS24 sees the Instruments of the sample in my folder/library specific to the user, but only those in the global folder/library.

    But Logic Pro 9.1.8 EXS24 can see both.

    Background:

    I had my mid-2010 27 "iMac running OS X 10.8.5 and Logic Pro 9.1.8 (as well as Logic Studio 7) I upgraded to El Capitan without incident. I bought and installed Logic Pro X on the App Store without incident.

    The menu of Logic Pro X EXS24 instruments shows that the Instruments that are in the global folder:

    Instruments of Macintosh/Library/Application Support/logic/Sampler

    The menu Logic Pro 9 EXS24 instrument shows the Instruments that are in both aggregate AND user-specific folders.

    The menu instrument show the structure of:

    Instruments of Macintosh/Users/me/Library/Application Support/logic/Sampler

    It adds an entry listed as 'Factory' under which it places the Instruments found in:

    Macintosh/Library/Application Support/logic/Sampler instruments.

    If I load a project in Logic Pro 9 that uses some of the Instruments found in the user-specific directory in Logic Pro X, Logic Pro X reports errors that he cannot find the instruments and gives no possibility to 'find' and opens the project with a bunch of sounds of the sinusoid default loaded instead of the missing instruments.

    You can see two directories with the Global Directory on the specific to the user on the right and the left in my attachments.

    I have also attached a picture of the EXS24 Instrument Menu in Logic Pro 9 and Logic Pro X.

    Any guidance would be greatly appreciated.

    Thanks in advance!

    Here is the Menu of EXS24 Instrument under 9.1.8

    Here's the EXS24 Instrument menu under 10.2.0

    Here is a comparison of the Global Sampler Instruments on the left directory and Sampler Instruments menu specific to the user on the right

    (The view is provided by PathFinder rather than Finder which allows the sidebyside view)

    1. it is always useful to search the existing threads here at discussions.apple.com. Try some different keywords, and you can often find other people with similar problems.

    2 check out this thread. I had a similar problem and solved, answered my own question.

    X - Exs24 folder 'instruments' lacks logic

    3 re-indexing loops Apple Loops * should * help to find the folder. Here is some info on this:

    Logic Pro X index no loops.

    4. you can also try simply to drag the folder (in your Finder) and a session logical X. This * should * the entire folder to the index for you.

    5. you can always move the folders in your ~/Library (user) indexing question in your corresponding library/library/library indexing (root) folder.

Maybe you are looking for

  • M1V66UA: problem with recovery media disk drive

    my laptop is HP envy x 360 bought around December 2015(it is still guaranteed). Today, I had a problem with my laptop (inaccessible boot device error) and a HPteam even could not able to solve it and told me that the recovery order media disk. the pr

  • Crysis does not work on my P200 with HD2600 card

    Hello Y at - there a patch to make the work of 'Crysis '... CZ when I start the game everything is going really slow: s even with Gears of war that gives an error at startup... When I start the game it will slowly: s and I can not play... before I re

  • Aspires speaker microphone station e1-571 keyboard touchpad works

    I have acer aspire laptop e1 - 571. a hinge of the laptop is damaged so I remove all laptop and I opened the laptop. then I remove the speaker and touchpad screen connection cable microphone keyboard. When I attach keyboard touchpad screen connection

  • my pc not reading dvd

    my pc can't read or write on dvd

  • My product key has been blocked... why?

    Yesterday, I installed Windows 7 (32 bit) in a Machine virtual VirtualBox; but the machine has got corrupted. so I reinstall Windows 7 again, today. I couldn't enter my product key, so I did the "slmgr.vbs-ipk PRODUCT KEY' then"slmgr /ato"(without th