Single declaration of the user

So my POC Apex was a success and the company are eager to use it, but they want to include readonly users who do not have access to the DML functionality by means of buttons and links.

My first thought was to control all of this through the PL/SQL backend - and based on the logged on user to determine if they CREATE, Update, and Delete permissions, display an error message if they are not - that would be simple enough to complete mass. However the company also wants me to hide gray on all links to DML modules. Is there a method of coverage I can adopt to do, someone has suggestions for an easy way to remove features.

Thanks in advance,

Matt

Hi Matt,

Nice to hear that your affairs are eager to Apex!

To stop users being able to do things, discover the authorisation schemes - http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/sec.htm#BABEDFGB

The use of these, you set as many diagrams that you need (usually using SQL to determine if the current user matches a set of conditions) and then to apply the set to any object within the Apex. Only if the user adapts to the conditions will be that the regime allows them to view/use the object.

You can also make the page read-only items. Is not quite as easy to specify the condition every time, but you can define a part of the application to a specific value when the user logs on (using a calculation of Application running "on the new Instance (new session)" for example) and then check the value of this element in the playback settings only for each element you want to set read-only so that you have to reculculate the condition every time you save.

Andy

Tags: Database

Similar Questions

  • Need help with deprovision as a single resource to the user using API profile

    Hello
    I need to write a little code, where I can layout only one resource profile of the user via the API of the IOM. Please help me to start coding.

    Thank you
    Kalpana.

    Change your code to do this

    String oiuKey = resultset.getStringValue ("User-Object Instance to User.Key");

    You must pass the oiuKey method revokeObject no Object Key

    See more details here revokeObject method [IOM] - howto?

  • Documentation of the user for Pro XI

    I will spare my Adobe support dealing with history.  I bought the download of Adobe Acrobat Pro XI version.  Adobe Pro X has a single PDF of the user documentation.  That exist for the XI version?

    Concerning

    What is the link below get you the file for which you are looking?

    http://helpx.Adobe.com/en/PDF/acrobat_reference.PDF

  • Single database session by user in the Application of the ADF/BC

    Hi, I use ADF with BC (JDeveloper 11.1.1.1). My application will contain several application modules, each connected to the same JDBC data source. On the application server, I configured the data source to use the identity function connection pooling.

    My current Setup translates many sessions of database for each user. I have an obligation to use only a single database session by user HTTP session. Is it possible to configure the application modules to achieve this?

    Thank you
    Brad

    Hello

    use a single root module Am and make sure that the others are used as nested modules. This will create a single connection

    Frank

  • Form field: the user selects a single cell in a table?

    I have a table I'll turn it into a form where the user can select multiple cells. When the user is finished, it will present in the usual way.

    I want the user to be able to select multiple cells, and have sectionals outlined in red, by the small illustration that I've included here. I can't seem to find a way to do it, even if it is obviously very simple. Ideas? The table below is just a mock-up of what I want the form to look like after the user has selected the cells which are framed in red. Borders appear only when the user has clicked on it.

    DRM for your suggestions!tabletest.jpg

    If these cells will be interactive form fields, the user will not be able to select several fields at the same time. What is possible change the border color when the user clicks in a field while holding down a modifier (shift, Ctrl) key. A simple example, the following script into a text field Mouse Up event will change the border color of the field to red when the SHIFT key is pressed while clicking on the field, but the change will be apparent once the field has lost focus. He will return to transparency if the SHIFT key is held down while you click on the field:

    Script mouse upwards to the text field

    event.target.strokeColor = event.shift? Color.Red: color.transparent;

  • Windows 7 Home Premium - cannot change the user name in the authentication dialog box

    I was hoping someone might be able to answer a question on how to get a computer running Windows 7 Home Premium to display both the username and password fields when attempting to authenticate on another Windows computer.

    Here's the situation: allow us that the leaders and other members of the staff allowed our Organization to establish a VPN connection to our corporate network (via Fortinet Forticlient, for what it's worth.)  Once the VPN connection is established, on the remote computer, the user must be able to access the UNC path to our file (\\servername\share) server.

    Because the remote user has not yet authenticated on the domain Active Directory of business, a dialog box should appear to the user input a user name and password.  Enter the user name (domain\username) and password and share should open, and the user must then be able to access the files in the share.

    I (and several other members of the staff) have been using this method successfully to access files via the VPN connection, and it works very well.  However, it does not work whenever the President of the company will connect to the VPN from his computer at home.

    Whenever the President connects the VPN and attempts to access the UNC path, he reports that the dialog box which appears on his computer at home has only one field for a password; the user name field appears to be on his local user account, and it doesn't have the ability to change.  (I have him asked if there is an option 'use authentication information', and he declares that there is not just a dialog box with a single field, the field of password.)

    The President is running Windows 7 Home Premium on his computer at home, so I thought that the problem could be because he was running this edition of Windows.  However, I have installed VPN client and test the connection on the server share file using the computer of my wife, who is also running Windows 7 Home Premium, and I received the two fields as expected authentication dialog box and has been able to authenticate to the domain successfully and open files from the share with no problems.

    Does anyone have recommendations on what I can try to allow the President to authenticate successfully to our server share?  I am confused, and it is eager to be able to get remote access to files on his home computer.

    Hello

    Please contact Microsoft Community.

    I suggest you to ask your question in the Technet Forums, where we are the support technicians who are well equipped with the knowledge on these issues. Please visit the following link to go to them and post your query there:

    https://social.technet.Microsoft.com/forums/Windows/en-us/home?category=w7itpro

    Have a great day.

  • To loop through the text fields of the user on a page

    I'm new to APEX and I searched for an answer to this problem, but wasn't able to find one.

    I have a page which has about 40 areas of text for user input. I would like to find a way to do a loop on all areas of text on the page when the user submits the form. I want to check the contents of each text box and filter all characters that are not alpha or numeric. I would do this in a single process. Is this possible? If so, how do I access the text boxes and remove unwanted entries? Could you please show me an example?

    Thank you for any advice on that.

    Hello

    I have not test cela, but could look like after submitting work process

    DECLARE
     l_temp VARCHAR2(32000);
    BEGIN
      FOR C IN
      (SELECT item_name
      FROM apex_application_page_items
      WHERE display_as   = 'Text Field'
      AND application_id = :APP_ID
      AND page_id        = :APP_PAGE_ID
      )
      LOOP
        -- Do stuff e.g. remove character  Ö
        l_temp := REPLACE(v(c.item_name),'Ö');
    
        APEX_UTIL.SET_SESSION_STATE (
          p_name  => c.item_name,
          p_value => l_temp
        );
    
      END LOOP;
    END;
    

    BR, Jari

    Published by: jarola March 4, 2010 17:26

  • Request confirmation from the user before the table droping

    Hello
    I need to create a script that ask the user a confirmation until he runs the script of this fall a table as "you check the log file before droping table O/N.

    I'm starting to do it, but it does not work well, I am new to sql and PLsql

    accept invites condition "you check all the log files (Y/N).

    DECLARE
    V varchar2 (1): = 'n';
    BEGIN
    If & condition = V then
    EXECUTE IMMEDIATE ' drop table t;
    on the other
    dbms_output.put_line ('Please check your log file");
    end if;
    END;
    /

    Kind regards

    Vittel wrote:
    Hello
    I need to create a script that ask the user a confirmation until he runs the script of this fall a table as "you check the log file before droping table O/N.

    I'm starting to do it, but it does not work well, I am new to sql and PLsql

    accept invites condition "you check all the log files (Y/N).

    DECLARE
    V varchar2 (1): = 'n';
    BEGIN
    If & condition = V then
    EXECUTE IMMEDIATE ' drop table t;
    on the other
    dbms_output.put_line ('Please check your log file");
    end if;
    END;
    /

    If the value of condition is the single character N, then

    if &condition=V then
    

    will be sent to the compiler as:

    if N=V then
    

    Which means that there is a variable called N.

    I think what you mean is:

    if '&condition' = V then
    

    who will be sent to the compiler as

    if 'N' = V then
    

    Note that the variable substitution (as & condition) are evaluated and replaced before the code PL/SQL is compiled, you can use substitution variables, as in an anonymous block, as you do, but you can't use them in a stored procedure to get the running user input.

  • Functions defined by the user with several parameters

    I set features three following user using "Define."

    UF1 takes a single patameter;

    UF2 takes two parameters;

    and UFX takes two parameters - with the second is 'X' in the definition.

    Œuvres F1.  F2 is the EVAL of F1 version and it works too.  User functions only seem to work fine.

    F3, a function of two user settings, produces a graph of NaN.

    F4 is the EVAL of F3 version.  Note that 'B 'is not replaced by 1'.  Also produces a NaN chart.

    F5 produces a graph of NaN.

    F6 is EVAL of F5.  The 'X' is not replaced (even with the ' B' above), and even if it looks like 'X * X', it also produces a graph of NaN.

    Is it possible to get defined by the user, with several parameters, features work by tracing the curve?

    Hi!, Fortin:

    If you download and install the ultimate Firmware with the version of the software: 2015 6 17 (8151), with the number of Version: 1.1.2 - 11, you can trace your examples of definition of the function, with curves and values, without NaN.

  • How to change the user name - peer-to-peer network

    I recently installed shareaza, is a peer-to-peer network as you know. the problem is that all of my folders have my name on it: that is to say, he will say sharedfiles/Jose/my documents. I tried to change my username on useraccount, but the name of Jose remains on everything. is there anyway I can change this? Thanks for any help

    Hello

    The fact is that the username will be created at the beginning of the installation of the OS.
    It comes to you account on the laptop.
    Each user account includes the folder my documents.
    In this case, you cannot change the user account if you have a single user profile on the laptop. The title of the user accounts, you can create additional user with different names.

    The other possibility would be to change the download source. But that you change somewhere in the program settings. Unfortunately, this program is unclear to me. In this case, I can give t you information where you will find this option.

  • Question of the user defined Type (UDT)

    Hello

    The attached file is NEITHER sample to call a VB6 vi.

    The following is declared in the declaration section:

    ' Global declarations
    Dim lvapp As LabVIEW.Application
    Dim vi LabVIEW.VirtualInstrument

    When I paste these statement in another project (that I'm working on), I get an error 'undefined user-defined type '.

    Can someone point out to me were in the sample, these type definitions are declared?

    Thank you

    Rafi

    PS the attachment is indeed xxx.rar and not xxx.zip.  I changed the name because .rar has not been accepted.  Please rename .rar

    Thank you

    I forgot to mark references to my project

    Project--> references--> LabView. Type library of xxx

    Thank you

  • Add filename to a path specified in the user

    Hello

    I have a small question.

    I am writing a program that generates several files such as voltage, resistance, etc... I want the user to simply specify the path, and my program should automatically name files.

    For example, if the user specifies the path "C:\measurements" where he wants that all of the files, my program must create the files Voltage.csv, Current.csv, Resistance.csv etc. in this way.

    I use scripture to the worksheet. The problem is when I run it, I can't just specify a single path in the dialog box that appears. I have to specify the file name too.

    Even if I can get just the value of path, how would I add my different file names him? I would create the file name as a string which is in a pink color. But the data file path types are different with a dark blue-green color.

    How do about it?

    Any help will be graetly appreciated.

    Thank you

    Hello

    Use the 'build ': path

  • loop of two producers for quick DAQmx and the user controls?

    Hello

    Sorry if my question is maybe a bit too general (I don't have a VI implementation yet).

    I think about the solutions for a Structure of producer-consumer with event loop in the part of the producer.

    So far, if I had to do a project with DAQ, data analysis, data recording and enter the user controls, I've followed usually this kind of approach:

    I used the producer part to capture interactions with the user, and I also had a state machine in the part of the producer, with registry change. I also buy (any faster then 10ms) DAQmx device data in the part of the timeout of the structure of the event in the loop of the producer. I have several consumer loops down, such as data analysis, data recording, etc... I send the data measured in a cluster with the enumerations of the State of the loop from producer to consumer with queue loop.

    I'm not happy with my approach for the following reasons:

    1,

    If I need device acqure faster DAQmx data that the operating system clock can handle (like 1 MHz), so I can't put it in the part of time out of the structure of the event of the producer loop, because here I can go through the while loop with minimum 1 ms.

    2,

    If I put this part DAQ in a loop for quick consumption, it is not admissible for orders from the QUEUE line after that it starts to run (assuming that I use the standard structure of producer-consumer, so consumer loop every time iterates once, when a package comes from the Dequeue).

    Then say, how can I control a young (timed by DAQmx device internal clock) loop of data acquisition of the structure of the producer of the event loop? As loop DAQ to start, stop, restart, etc...

    Thank you very much for the advice!

    You can certainly have several loops of producer.  Have a User Interface, loop driven events to send commands and a separate data acquisition loop to send data are not a problem.  Each loop has a separate queue. (You might be able to make it work with a single, but using two queues avoids many problems).  Often, I used a system of three loops long before that everyone was talking about calling it a producer/consumer.

    Lynn

  • Impressive transformation slow due to the updating of the user interface

    Hello

    I feel a huge slow down in my test as engine

    I update the display after each test. It consists of a rather

    "simple table" with a subtle change of color and bold

    to indicate the failure or success of the test:

    I have also tried several things to determine what routine was

    make the program almost crawling like a snail, here's my

    results:

    No UI refresh: 0m48s (same as Teststand with no updates of the user interface)

    The discount but no page table switch: 1m06s

    Bay of refreshment and switch page: 1m26s

    There are 314 tests, up to 314 redraw and possibly

    switch page 314 to reposition the view. Which gives the

    following user interface refresh costs:

    Update of the table: 18 years/314 = 57ms (replacing just a single line, Center to top)

    Switch to page: 20 s/314 = 64ms (bottom right corner)

    Is this really the case? Is there a way to make the refresh of the user interface

    faster? Create two separate loops/threads, one to make

    the test, one for updating the UI asynchronously?

    I understood for an overall picture about different

    widgets, but here I'm 'just' display of channels...

    David Koch

    Well, multi-listbox control is a problem if your change causes access to the muliple property node. For each property node LabVIEW normally does a refresh of the user interface which is very quickly. Fortunately, there is a fairly easy way to fix this.

    Use a node of property for the current VI (just drop a property node and change its class type VI Server-> VI reference) to get the reference of the Panel. Then use another property node connected to your reference of the Panel and select update from the Panel to postpone. Set this value to true before your Listbox (and any other updated user interface) and set the value to false then.

  • Blocks the execution of the user Image Acquisition interface

    I am currently trying to create a user interface that displays images from a camera attached to a microscope with a mobile table.  The user is able to interact with the images and can click on them, which causes the table to move to a new location.  Acquisition is made by calling a DLL, the DLL grey flycapture point camera, using a call library function node.

    When I acquire images at 15 frames per second, it has no problem with user input.  However, when I drop the acquisition at 2 frames / second (necessary if you need to have the exposure time), labview seems to take a break from the user interface while the image acquisition is underway.  Interaction of the UI seems possible in the holes between the image acquisitions.

    I'm sure that this is happening because there is a kind of blocking going on here.  The program is waiting for the new image to be returned and will not not something else happen while he waits.  I have image acquisition running in a separate, called function from a higher level, VI, which puts the image data in a global variable (I know I know... global variables).  When I need to display the image, I read of the global variable and display it on my form of user interface.

    I think I need to run things in separate threads to avoid the problems that I have because I have a dependency that is the cause of blocking.  I'm looking for any suggestions on how I can the architect this.  I have thought about using a VI server to launch the acquisition of the camera and will try to implement this, but I wonder if there is another method that I'm missing here.

    Any suggestions would be greatly appreciated!  I use LabVIEW 8.6 on a Windows 7 machine indeed.  I do not use LabVIEW image acquisition module.

    Thank you

    Hey Gerry,.

    It's Paul in Ministry here at National Instruments engineering applications. What Paul was referring to a call library function node configuration properties. If you right-click on the node library function call you can click on configure and you should see a window that looks like the image below.

    As you can see, you have the option to select run this library in the UI thread or any thread. This is important because there is only a single user interface thread. Therefore, deadlocks can occur when the code is written in parallel, but operations are both occurring in the UI thread. What results is a part of the code has to wait that the other part at the end and so the lock upwards in the user interface. The reason why the call library function node is set to run in the default UI thread is now, because only the security thread functions can be performed in any thread. So before you change this configuration it is strongly recommended that you check that the functions you call are thread-safe. You can also check which configuration, the node library function call is in the color of the node itself. If it is an orange color which means that it is set to run in the UI thread. If it is a pale yellow color, it is set to run in any thread. Let me know if you have any other questions!

    Paul M

Maybe you are looking for

  • The cooling fans how are 13 '' MacBook Pro 2015/16 retina?

    Hello Sometimes, my mac make noise with its cooling fans, I tried to use some software for the diagnosis and is surprised that a single cooling fan has been detected. Could you please clarify how cooling fans are in my mac? My mac is: MacBook Pro (re

  • How can I stop Notes opening automatically when I turn on my Mac?

    Hello from France. Since the installation of El Capitan on my iMac and MacBook Air Notes opens automatically whenever I connect. Can someone tell me how to prevent this from happening, please? I find it really annoying. Thanks in advance.

  • full driver recommended

    My printer is old, but it still works.  However, I have lost functions with my new computer with windows 8.  I tried to download a full featured driver instead of the base driver, but the installation failed.  Any ideas?  I miss two-sided printing. 

  • When I copy to the disc, I get the following error message: Windows – drive not ready

    Below it this box is a red emblem with a X white.  The message is: Exception Processing Message c00000a3 parameters 75b6bf7c 4 75b6bf7c 756bf7c and option buttons here's this message: Cancel try again continue no matter which option I choose, the box

  • Cannot scan on new CM2320nf MFP

    After installing the CD for Mac, I can print but cannot run the HP Director to scan on my Mac (10.6). I can run HP Director with CM1017 printer/scanner connected on my other Mac computer. The new CM2320 is connected with a USB cable. Any suggestion?