Other necessary permission for apex_util to APEX 5 vs 4.2

Hello

APEX 4.2 against APEX 5.0

Using the EPG for the test.

Accounts of the APEX

I have a small procedure that retrieves the information of users with APEX_UTIL. FETCH_USER of a session not authenticated (the user did not connect to the app yet).

APEX 4.2 I got it works by the granting of the APEX_ADMINISTRATOR_ROLE for the owner of the schema of the application.

If I use the same configuration to the APEX 5 I get the below error:

The nobody user requires ADMINISTRATOR privileges to perform this operation.

Contact your administrator for the application.

I also tried the grant execute rights on APEX_UTIL directly to the owner of the schema but no luck. In another installation with the ADR program I also tried to give the role and run rights to APEX_PUBLIC_USER, but it does not work.

If I execute direct SQL procedure * more connected as the owner of the schema it works without problem so the change is probably the user executing the statement of APEX (in a configuration of ADR, it should be APEX_PUBLIC_USER).

Can someone explain the difference of rights required between en 4.2, 5.0 or the user who is running the APEX session during the execution of APEX_UTIL procedures or point me in the direction of a solution?

Kind regards

Bottom

Down de Klerk wrote:

APEX 4.2 against APEX 5.0

Using the EPG for the test.

Accounts of the APEX

I have a small procedure that retrieves the information of users with APEX_UTIL. FETCH_USER of a session not authenticated (the user did not connect to the app yet).

APEX 4.2 I got it works by the granting of the APEX_ADMINISTRATOR_ROLE for the owner of the schema of the application.

If I use the same configuration to the APEX 5 I get the below error:

The nobody user requires ADMINISTRATOR privileges to perform this operation.

Contact your administrator for the application.

I also tried the grant execute rights on APEX_UTIL directly to the owner of the schema but no luck. In another installation with the ADR program I also tried to give the role and run rights to APEX_PUBLIC_USER, but it does not work.

If I execute direct SQL procedure * more connected as the owner of the schema it works without problem so the change is probably the user executing the statement of APEX (in a configuration of ADR, it should be APEX_PUBLIC_USER).

Can someone explain the difference of rights required between en 4.2, 5.0 or the user who is running the APEX session during the execution of APEX_UTIL procedures or point me in the direction of a solution?

It is due to changes without papers to security restrictions in the APEX 5.0. See:

It seems that the only way in which a 5.0 APEX session which is not authenticated as an administrator of the workspace can access user details using the apex_util.fetch_user is done by a convoluted workaround involving a scheduled job.

Tags: Database

Similar Questions

  • I have adobe certified m graphic deisgner... I can my own video tutorials to teach others about photoshop and download it into my own Web site? I m phhotographer also... should I I need legal permission for this gentleman...

    I have adobe certified m graphic deisgner... I can my own video tutorials to teach others about photoshop and download it into my own Web site?

    I m phhotographer also... should I I need legal permission for this gentleman...

    You probably want confirmation from an Adobe employee and I do not work for the company, but its completely legal to post images and videos done with and on Photoshop that you use a legal version of the software. Of course if you copy videos from someone else so they can possibly file a lawsuit against you for plagiarism or copyright violation, but I suspect that your not likely to do

    Terri

  • Error: The application-specific permission settings grant Local Activation permission for the COM server application in the Windows XP computer.

    Original title: DCOM {E9F9ED00-7705-101B-9802-0000C07B665C}.

    I have this message DCOM in the registry: "the application-specific permission settings do not grant Local Activation permission for the COM with CLSID {E9F9ED00-7705-101B-9802-0000C07B665C} server application the user... xxxx...". (I deliberately placed the "xxxx" instead of my current PC for security reasons). This security permission can be modified using the Component Services administrative tool." I tried to look through the forum here, and I found elements that were close and others are not. so if anyone knows where I can go make the adjustments, it could save our society approximately $10K, because my new bosses are ready to install all new hardware and software, but if we could find a much simpler approach to this problem, this would make the new kid on the block like a champ look.
    We have a Window XP, the flat touch screen PC, running a few packages of software reviews that keep a record of our SCADA system trend.

    At random times around the clock, the PC will just restart and return to the logon screen. There is no other necessary users, so we have only the journal administrator form. As soon as we open the administrator it is specially configured to run a specific program of our choice, but if the PC keeps restarting whenever it feels like it, there is no history chart tend to save. It is essential, that we need.

    Hello

    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the forum TechNet for assistance:

    http://social.technet.Microsoft.com/forums/en/itproxpsp/threads

    Hope the helps of information.

  • Nokia iTunes Library .itl is locked on a locked disk or you do not have permission for this file

    Nokia iTunes Library .itl is locked on a locked disk or you do not have permission for this file

    Hello

    When you get this error message?

    Follow the steps below and check if that helps.

    Method 1:Follow measures to take in charge of the case.

    1. open Windows Explorer and locate the file or folder you want to take charge.

    2 - Click on the file or folder, click Properties, and then click the Security tab.

    3. click on advanced and then click the owner tab.

    4. click on edit and then do one of the following:

    To change the owner to a user or group that is not listed, click other users and groups and enter the object name to select (examples), type the name of the user or group and then click OK.

    To change the owner to a user or a group is listed in the change owner to box, click the new owner.

    5. (optional) to change the owner of all subcontainers and objects in the tree view, select the Replace owner of subcontainers and objects of the box.

    Method 2: Follow the steps below and check if that helps.

    Change the permissions on the folder / my music/itunes (and all subfolders and files) so that it is not "read-only".
    Here's how:
    a. by doing a right click on the name of the iTunes folder, and then select Properties.
    b. you will see the read-only check box. Make sure it is disabled.

    Topic: iTunes Library.itl file is locked
    http://discussions.Apple.com/thread.jspa?threadID=2678797&TSTART=0

    Topic: iTunes Library.itl file is locked on a locked disk or no write permission
    http://discussions.Apple.com/thread.jspa?threadID=2051801

  • Painted Windows Trusted Installer, refusing permission for administrator accounts, while trying to change the paper

    Original title: Windows Trusted Installer, refusing permission for administrator accounts

    I have a netbook with Windows 7 starter.

    Trying to change the wallpaper (trivial, I know) I realized that even as an administrator I am blocked for this. I tried to change the permissions of the records, but the options are grayed out.
    Would be interested to know
    (1) if there is a way around that?
    (2) what are the other rights are denied to me although it is my own machine and me being logged as administrator?
    If there is no way this tour without the upgrade of Windows (paid) or switch to Linux (free)?
    Thanks in advance for any help

    Hello

    Method 1, the only option is to upgrade the operating system. Unfortunately there is no alternative workaround.
  • How to remove the files / folders that require permission for administrators

    under C:/windows/temp is several files that I want to remove but when I try, they report that I need permission for administrators

    You must log in as an administrator instead of as a user on the Windows log in screen that appears when the operating system starts.

    Or you can go to start > switch user and then log in as admin.

  • We stil run an extensive system of Small Business Accounting. I wonder what others have opted for now his party and support.

    We stil run an extensive system of Small Business Accounting.  I wonder what others have opted for now his party and support.  We have to find a new solution.  Recommend something?

    Shane

    original title: Small Business Accounting

    Try: QuickBooks

  • Other download links for Microsoft Safety Scanner?

    I tried to download Microsoft Safety Scanner http://www.microsoft.com/security/scanner/en-us/default.aspx for more than a dozen times now, but still it is interrupted. I have more virus in my computer, it's just that I think that my Internet connection is too slow. My cousin asked me help on how to get rid of a bunch of virus on his computer at home, that I offered help by using the Scanner, as I do for my friends over the past two months. (I never asked them for anything in Exchange). Do you have any other download links for Microsoft Safety Scanner? I can't try to download. I tried to go outside in cafes Internet just for the download, but its still the same and even worse, computers on these places are full of virus. Other links? Torrent or maybe? (they never get interrupted).

    PS.
    Do you know how to get rid of the trojan dropper and startpage? Theyre the virus which has been troubling my cousin for a while now...

    http://answers.Microsoft.com/en-us/protect/Forum/protect_scanning/help-me-i-cant-complete-the-download-of-the-safety/a4f5cd65-3192-450F-A038-861c15acb831

    I. - delete your temporary files

    Click Start > all programs > Accessories > System Tools > Disk Cleanup

    II. - have your system scanned as a result of security/antivirus installed.

    III. - run this tool from Kaspersky: how to remove malware belonging to the family of Rootkit. Win32.TDSS

    http://support.Kaspersky.com/viruses/solutions?QID=208280684>

    IV. - download, install, update and run both of these tools to a-squared free scans:

    MalwareBytes anti-malware (MBAM)

    http://www.Malwarebytes.org/products/malwarebytes_free>

    SUPERAntiSpyware (SAS)

    http://SUPERAntiSpyware.com/superantispywarefreevspro.html>

    V-1. open IE 32-bit (only) to https://consumersecuritysupport.microsoft.com/

    2. click on I think my computer is infected

    3. on the resulting page, click on run the Microsoft Safety Scanner

    4. Select appropriate service bit

    Download - 32-bit

    Download - 64-bit

    then click CONTINUE

    VI. - http://safety.live.com.

    VII. - https://support.microsoftsecurityessentials.com/ and select the link that says - I think my computer is infected

    UTC/GMT is 08:40 on Friday, March 16, 2012

  • You have given permission for am Act to Windows to resolve problems on the pc

    Original title: am

    You have given permission for am Act to Windows to resolve problems on the pc

    A quick Google for "Am" indicates that this is a scam.

    http://www.Google.com/#hl=en&source=HP&q=Comantra&AQ=f&AQI=&OQ=&FP=64df356c6a3f8304 MS - MVP - Elephant Boy computers - don't panic!

  • Try to download Flash Player 11 error msg vary between 'General error' or ' cannot be updated (filename) ' or we do not have the necessary permission.

    Adobe Flash Player 11 & IE

    I am running Windows XP SP3 32 bit. IE8 and 2 user accounts with permissions of system administrator. Flash Player 10 has worked well. Delete us all the temporary files, internet history & cache. I have uninstalled all previous versions & tried to install the lateset version. When you try to download Flash Player 11 error msg vary between 'General error' or ' cannot be updated (filename) ' or we do not have the necessary permission. Now he tells me that it cannot be saved. When it works it will download on 1 user account but the 2nd a/c cannot access applications require a PS to run. older versions cannot be re installed. Tried all the suggestions in the forum. Have tried a few weeks to understand it, but I'm stuck now. Help, please.

    Hi, Robert,.

    Try uninstalling Flash Player using the uninstaller here.  Sometimes, there remains remnants of previous installations.

    http://kb2.Adobe.com/CPS/141/tn_14157.html

    Restart the computer

    Reinstall the software after you have cleaned the file cache as described below

    http://www.Adobe.com/FlashPlatform/?promoid=ITXQR

    Open the command prompt window

    Type the following commands by pressing enter after each one

    Rundll32.exe inetcpl.cpl, ClearMyTracksByProcess 8

    Rundll32.exe inetcpl.cpl, ClearMyTracksByProcess 255

    Rundll32.exe inetcpl.cpl, ClearMyTracksByProcess 32

    Rundll32.exe inetcpl.cpl, ClearMyTracksByProcess 16

    Rundll32.exe inetcpl.cpl, ClearMyTracksByProcess 2

    Rundll32.exe inetcpl.cpl, ClearMyTracksByProcess 1

    When you are finished with the above commands, type Exit and press ENTER to close the command prompt window.  Reinstall Adobe Flash Player.

  • When you try to download Flash Player 11 error msg vary between 'General error' or ' cannot be updated (filename) ' or we do not have the necessary permission.

    Adobe Flash Player

    Hello
    I am running Windows XP SP3 32 bit. IE8 and 2 user accounts with permissions of system administrator. Flash Player 10 has worked well. Delete us all the temporary files, internet history & cache. I have uninstalled all previous versions & tried to install the lateset version. When you try to download Flash Player 11 error msg vary between 'General error' or ' cannot be updated (filename) ' or we do not have the necessary permission. Now he tells me that it cannot be saved. When it works it will download on 1 user account but the 2nd a/c cannot access applications require a PS to run. older versions cannot be re installed. Tried all the suggestions in the forum. Have tried a few weeks to understand it, but I'm stuck now. Help, please.

    Hello

    ·         You use the user as administrator account account on?

    Follow these methods and check if help to:

    Method 1:

    Try to set the user account, follow the form of measures troubleshooting section and check if it helps.

    Difficulty of a corrupted user profile

    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

    Method 2:

    Follow the form of measures troubleshooting article and check if that helps.

    Installation problems | Flash Player | Windows

    http://kb2.Adobe.com/CPS/191/tn_19166.html

    Also check with the help of Flash Professional Center

    http://www.Adobe.com/support/Flash/

  • Design the necessary driver for EHR 300 digital camera

    Low load design the necessary driver for above camera

    Go to the manufacturer.  They have created the product, they supported (or not) the product.  No matter what operating system you are running, etc. - If they can't stand on the said OS - almost anything else you can find to make it work is a kludge.

    I have not yet found a camera with the model number you gave.  Maybe I've found someone trading some old webcam/mic has put online - but I found for most sanders and a stereo?

  • vWorkspace 8.0MR1 Powershell error - cannot locate permission for target

    I installed the version 8.0.306.0029 of the Powershell Module for vWorkspace and I see a problem with the New-QVWManagedApplication cmdlet. I have all the settings according to the wiki for the specified cmdlet, but he came back with the message below pointing to an issue with target. I couldn't find anything in the reference of the cmdlet on the objectives, so I don't know what I'm doing wrong.

    Here is the syntax I used and the result. I tried leaving a number of parameters but the same result.

    New-QVWManagedApplication-name 'Powershell Test' - SessionHost P14TS4-Path 'C:\Program may Explorer\iexplore.exe' - InitialWindowState normal vWorkspace - SeamlessWindowMode-Enabled $True - LoadBalancingSetting - SessionSharingEnabled $True - NotSpecified DisplayName 'Powershell Test' - close "vworkspace database.

    New-QVWManagedApplication: unable to locate permission for target [PN_PERM_TARGET_MANAGED_APPLICATIONS]
    [PN_PERM_ADD_APPS].
    On line: 1 char: 1
    + New-QVWManagedApplication-name P14TS4 - SessionHost "Powershell" Test - path C:\ «...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo: NotSpecified: (:)) [-QVWManagedApplication] new KeyNotFoundException)
    + FullyQualifiedErrorId: System.Collections.Generic.KeyNotFoundException, Quest.vWorkspace.PowerShell.Clients.NewQVWManagedApplicationCommand

    If it helps our environment is 8.0 since the launch with the gateway servers, IIS, management and broker 2012 with 2008R2 Session hosts. I installed PowerShell module on one of management with .net 4.0 and PowerShell 3 servers as required.

    Hello

    Dev did find something interesting in this newspaper.

    If you have access to SQL Management Studio, please access your pnadmin.dmdefinedpermissions and select the top1000 lines.

    If there is only a few permissions, please post a screenshot. Are there hundreds, batch export to CSV and then he will have to find a way to do this to me.

    Thank you, Andrew.

  • Event ID 10016 - the application-specific permission settings do not local Activation permission for the COM with the CLSID server application

    Lately, I'm getting this system error a lot now that I've upgraded to Windows 8 Pro is an event DistributedCom 10016 ID. Here is the text of the error:

    The application-specific permission settings do not local Activation permission for the COM with the CLSID server application

    {D63B10C5-BB46-4990-A94F-E40B9D520160}

    and APPID

    {9CA88EE3-ACB7-47C8-AFC4-AB702511C276}

    the user NT AUTHORITY\SYSTEM SID (S-1-5-18) from the address LocalHost (using LRPC) running in the container of the application unavailable SID (not available). This security permission can be modified using the Component Services administrative tool.

    Anyone has an idea why I get this error?
    Walt

    Same thing here. Grayed. Windows 8.1 seems to fill the observer of events with many more errors than previous versions.

    Edit: OK, discovered why it is grayed out. There are 2 reg key, you must set permissions before going to the Configuration of DCOM in component services. The CLSID key and the APPID key.

    From another forum, although it applies to a different application, same principle:

    1. open Regedit.
    2. go in HKEY_Classes_Root\CLSID\ * CLSID *.
    Note: * CLSID * stand for the ID that appears in your event viewer error. In your case, it is {C2F03A33-21F5-47FA-B4BB-156362A2F239}.
    3. right-click on it and select authorization.
    4. click on Advance and change owner to administrator. Also click on the box that will appear below the threshold of owner.
    5. apply a full control.
    6. close the tab, then go to HKEY_LocalMachine\Software\Classes\AppID\ * APPID *.
    Note: * AppID * is the ID that appears in your event viewer. In your case, it is {316CDED5-E4AE-4B15-9113-7055D84DCC97}.
    7 right-click on it and select authorization.
    8. click on Advance and change the owner to administrators.
    9. click on the box that will appear below the line owner.
    10. click on apply and grant full control to the administrators.
    11. close all tabs and navigate to the administration tool.
    12. open component services.
    13. click on the computer, click my computer, and then click DCOM.
    14 find the corresponding service that appears on the display of the error.
    15. right-click on it, and then click Properties.
    16. click the Security tab, and then click Add a user. Add the SYSTEM and then apply.
    17. check enable local.

    Then use the relevant keys here and the DCOM Config utility should give you access greyed onareas:

    CLSID:

    {D63B10C5-BB46-4990-A94F-E40B9D520160}

    and APPID

    {9CA88EE3-ACB7-47C8-AFC4-AB702511C276}

  • How to make a paper with some boxes to fill required for me to sign, and then some other boxes needed for the next person to sign. I want the boxes I've filled to be locked the next person.

    How to make a paper with some boxes to fill required for me to sign, and then some other boxes needed for the next person to sign. I want the boxes I've filled to be locked the next person.

    Hi johanb64152807,

    You can use eSign service, where you can send the document for signatures of several signatories, but the document will be sent to the following signatory after the earlier signed & it is not possible for him to make the changes.

    Documents KB for help: -.

    Kind regards
    Nicos

Maybe you are looking for

  • This Bohemian Macbook 13 inch sleeve suitable for my new Macbook?

    This Bohemian Macbook 13 inch sleeve suitable for my new Macbook? She will be sure the sleeve quite rightly if I put in place with the adapter mouse and laptop computer? I've been successfully applied a particular code to order a $3.99 one: days of h

  • Impossible to upgrade the driver Nvidia of Satellite P200-144

    I downloaded the latest driver from the download from toshiba site as the Nvidia site does not support my card - Go 7600. When I run it it fails right at the beginning saying that the OS is not Vista x 32 - which it is! I updated the BIOS to v1.70. D

  • Help? I can't put the local backup password.

    I get this error message: "the password to protect your iPad backup could not be set. Please try again. » I'm trying to back her up to my imac os 10.10.5 if I can put my data on a new ipad. It seems that if I encrypt the local backup, it will allow t

  • ENVY 14-k124TX: SSD update for more storage (ENVY 14 k)

    Hello I have a 14-k124TX currently Envy and you want to upgrade the disk SSD 128 GB to 500 GB. The vehicle currently has a samsung mzmtd 128 and I want to use a Samsung 850 EVO series. I opened my laptop and I'm confident on the evolution of Physics

  • Map Microsoft 6to4, reports "tv_ConfigMgrErr31".

    Original title: windows vista device drivers Symptom: Device is not working properly. Windows cannot load the required device drivers. Cause: A device has a configuration issue preventing it from working correctly. Details: The device, the Microsoft