Restrict Form & Reports Pages but allow users to Save their Records

Hi
I have a database with Forms & editable Reports pages.
I have also created a table with certain 'Admin Levels' of access so that users with the 'ADMIN_LEVEL' = 1 cannot access the editable reports pages.
I find that applying the below restriction stops those users from accessing the reports but also won't allow those users to save any records.
select USER_ID
from USERS
where USER_ID=:APP_USER
and ADMIN_LEVEL > 1
I then thought I could create a new page of the report but make it uneditable & use the 'Create' button to save the record to the table, but this doesn't work.
My question is, how can I restrict access to a reports page but still allow records from restricted users to be saved?
Thanks

Hi,
Firstly, you should look into Authorization Schemes: [http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/sec.htm#BABCAGAB]
I would suggest you create a scheme to identify admin users called, say, ADMIN_USER. This could be an EXISTS SQL query scheme of something like:
SELECT 1
FROM USERS
WHERE UPPER(USER_ID) = UPPER(v('APP_USER'))
AND ADMIN_LEVEL = 1Then, on any item within your application, you have an Authorization Scheme setting. You can then set this to either "ADMIN_USER" or "{not}ADMIN_USER" to determine which user can have access to that item. "{not}ADMIN_USER" is any user where the above query would return no records.
Using this, you could grant access to a page, but stop access to a button and/or process. You don't, for example, have to set a scheme for the page itself (you can leave the setting as "- No Authorization Required -", so everyone can get to the page), but you can then set a Scheme for a button on that page. If the user is an ADMIN_USER and you have set a button for {not}ADMIN_USER, that user won't get the button on the page (you should also make the same setting on any process that this button triggers).
But, if you set the page's Scheme to {not}ADMIN_USER, any ADMIN_USER will not even be able to get to the page.
Andy

Similar Messages

  • Display image in report page but just a link if file is not an image

    Hello,
    I've been working on displaying an image in a report page but need to add some logic.
    I would like to be able to call the image using a Region Source of type SQL instead of the HTML Expression. The reason for this is because I need to use logic to determine if the file is an image or not and to determine wether to show a thumbnail or just a link. I did find a "GET_BLOB_FILE_SRC" Function on the internet that suggests that I could do this but I need some help in making it work in my application.
    Here it is as a Region Source of type SQL:
    SELECT ID,
    NAME,
    CASE WHEN NVL(dbms_lob.getlength(document),0) = 0
    THEN NULL
    ELSE CASE WHEN attach_mimetype like 'image%'
    THEN '<img
    src="'||apex_util.get_blob_file_src('P4_DOCUMENT',id)||'" />'
    ELSE '<a
    href="'||apex_util.get_blob_file_src('P4_DOCUMENT',id)||'">Download</a>'
    end
    END new_img
    FROM TEST_WITH_BLOB
    If anyone can help me with this that would be appreciated.
    Thanks
    LEH

    John,
    The problem is that I do not know how to use the "GET_BLOB_FILE_SRC Function". I never got it to work but the HTML Expression did work for me. If you know how the GET_BLOB_FILE_SRC Function works then that would be helpful. I don't think it would be helpful if I posted my example on apex.oracle.com. But here is the information I have on the GET_BLOB_FILE_SRC Function.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    GET_BLOB_FILE_SRC Function
    As an alternative to using the built-in methods of providing a download link, you can use the APEX_UTIL.GET_BLOB_FILE_SRC function. One advantage of this approach, is the ability to more specifically format the display of the image (with height and width tags). Please note that this approach is only valid if called from a valid Oracle Application Express session. Also, this method requires that the parameters that describe the BLOB to be listed as the format of a valid item within the application. That item is then referenced by the function.
    See Also:
    "About BLOB Support in Forms and Reports" in Oracle Application Express Application Builder User's Guide
    Syntax
    FUNCTION GET_BLOB_FILE_SRC (
        p_item_name           IN VARCHAR2 DEFAULT NULL,
        p_v1                  IN VARCHAR2 DEFAULT NULL,
        p_v2                  IN VARCHAR2 DEFAULT NULL,
        p_content_disposition IN VARCHAR2 DEFAULT NULL)
        RETURN VARCHAR2
    Parameters
    Table 1-28 describes the parameters available in GET_BLOB_FILE_SRC function.
    Table 1-28 GET_BLOB_FILE_SRC Parameters
    Parameter Description
    p_item_name
    Name of valid application page ITEM that with type FILE that contains the source type of DB column.
    p_v1
    Value of primary key column 1.
    p_v2
    Value of primary key column 2.
    p_content_disposition
    Specify inline or attachment, all other values ignored
    Example
    As a PLSQL Function Body:
    RETURN '<img src="'||APEX_UTIL.GET_BLOB_FILE_SRC('P2_ATTACHMENT',:P2_EMPNO)||'" />';
    As a Region Source of type SQL:
    SELECT ID,
           NAME,
           CASE WHEN NVL(dbms_lob.getlength(document),0) = 0
                THEN NULL
                ELSE CASE WHEN attach_mimetype like 'image%'
                          THEN '<img
    src="'||apex_util.get_blob_file_src('P4_DOCUMENT',id)||'" />'
                          ELSE '<a
    href="'||apex_util.get_blob_file_src('P4_DOCUMENT',id)||'">Download</a>'
                          end
            END new_img
       FROM TEST_WITH_BLOB
    The previous example illustrates how to display the BLOB within the report, if it can be displayed, and provide a download link, if it cannot be displayed.Thanks
    LEH

  • Firefox should allow users to maintain their zoom setting when switching to a different page, instead of going back to default every time.

    Page text appears very small on laptop while utilizing full resolution on a dell XPS laptop. Zoomed-in a notch or two it looks good. Readable without squinting. But browse to a different page, and its tiny all over again. Firefox, being the best browser on the web, should think about allowing users to maintain their zoom value when going to a different page, instead of going back to default. Just an idea... I know there's alot of laptops out there and if it's hard for me to read with good eyes, I'm sure it's hard for others.

    The Firefox Page Zoom feature does a domain by domain level of saving the users preferred zoom level settings, there is no default Page Zoom level setting in Firefox.
    Try the Default FullZoom Level extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/6965
    Or the NoSquint extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/2592/

  • Allow users to save Interactive Reports

    I have scanned this forum but cannot seem to find what I'm looking for. Can someone please tell me exactly what needs to happen so that users can save their own versions of Interactive Reports? What do the authentication settings need to be? How does the user need to be logged in? Etc. We are using APEX 3.1 with 10g release 2. We use our own tables to do user authentication and authorization. Currently users are logged in using the post_login process so the APP_USER reflects their userid, but yet they do not see the Save Report option in an interactive report even though the option is checked. Any help would be greatly appreciated.
    Thanks,
    Rick

    Thanks for the input. I think the issue may be that I am noit logging the user in correctly so they are still APEX_PUBLIC_USER. The way our authentication works is that I get the user's id from a cookie passed by our companies secured login process. Once I obtain their ID from the cookie, I want to log them into my applications using that ID. If the cookie does not exist, they are redirected to the corporate login page. Do you know how I should be loggin the users into my applications? As I said, I tried using the wwv_flow_custom_auth_std.post_login API to log them in with the user id from the cookie, but it doesn't seem to be doing what I need.
    Rick

  • Allow users to save form data

    I am throughly confused about what I need, so I'm sorry, I'm sure this thread is a duplicate of several that are out there, but most of it seems to talk over my head.
    I have a VERY old version of Adobe Acrobat (version 5.0, yes gasp in horror).  I have the VERY old version of Acrobat Distiller (version 5.0).  I have a form that was created in these versions of Acrobat.  It works perfectly, even in the new version of Reader (v9), excpet that the form data can't be saved, not a shocker.
    What software do I need to purchase to get my old form to allow people to save the form data, WITHOUT them having to download any extensions for their Reader?
    I hope that makes sense.

    Hi,
    LiveCycle Reader Extensions ES is part of Adobe's server product and can be very expensive. In addition to the cost of the sever component, you need to pay a fee to Adobe to apply the reader extensions to each form. It is intended for government agencies and large organisations.
    The ability to reader enable a form from within Acrobat is intended for ad-hoc forms that won't be going out to a lot of people.
    When you design a form in LC Designer, you can specify the target version of Acrobat/Reader (in the File/Form Properties/Defaults). This allows you to check that all of the functionality that you build into the form, will work for your users.
    When you reader enable the form it will still work with the target version that you have set in LC Designer.
    When you reader enable with the full LC Reader Extension ES server product, you are basically turning ON features for users with Reader.
    However when you reader enable using Acrobat, you are turning ON features like allowing users to save data. But at the same time Adobe are turning OFF some features like data connections.
    It really depends on how many data processes you want with the form. If it is small then stick with Acrobat. If you are a large organisation looking to improve data collection and processing then you should look at LC Reader Extensions ES.
    Hope that helps,
    Niall

  • How to: 1. Submitt form as PDF and not XML 2. Allow user to save to computer Thanks

    How to:
    1. Submitt form as PDF and not XML
    2. Allow user to save to computer
    Thanks

    Thanks For the Post!!
    Please be advised that this forum is for discussions about
    the Acrobat.com online services only. Your best source of questions
    and answers for Acrobat would be in the
    Acrobat Windows
    Forums or the
    Acrobat Macintosh
    Forums.

  • Allow user to edit their own Address Book server entry

    Hiya.
    I'm looking for a way to let users edit their own information in the Address Book Server/Open directory. I've made sure the main group for users is in the AB Read-Write Groups group in WGM.
    I've even checked the box in Server Admin that says "Allow users to edit their own contact information", but after adding the account to an address book client and authenticating as a user (For example, myself), I can't edit my own contact info anywhere that will push to the server.
    Is there any way to do this?
    Thanks!

    You'd need to write a php script or something to interface with applescript…

  • Can you create a button that allows users to save content?

    I am trying to come up with a way that allows a user to save their certificate (created using the widget in Captivate 4) if they don't immediately have access to a printer. Is there some code I could attach to a button?

    What about printing to a pdf-document? There are a lot of free PDF-writers around.
    Lilybiri

  • Recording video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http.

    As titled, what is the way to record video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http?
    What I am trying to do, is to record a user's microphone's input and save it to the server. Afterwards, I would like other users to be able to access the recorded files and mainuplating the audio data, by computeSpectrum(), to do some visualization of the audio. As I know computeSpectrum() cannot work on streaming files, so I think I need to access the recorded files using http instead of rmtp. Is that true?
    How can I redirect the http request to the files I was recorded into my applications/appName folder? Or I need to somehow moved the recorded files to the /webroot folder?
    Thanks!

    I probably have asked a stupid question.
    My recorded streams are still saved in the applications/appName/streams folder.
    And I redirect the www.mydomain.com/streams to point to the applications/appName/streams folder.
    And the rmtp recorded streams are abled to connect through http now.

  • Allow User to set their Default Home Page

    How can I allow the end user to set their defualt home page? There is a User Profile Portlet but end users are not able to see it when they log in. Also, I want them to be able to just set their own defualt home page.
    Thanks.

    As a privileged user:
    [same functionality as above]
    Oracle Portal Home Page > Administer Tab > Portal User Profile > Edit Portal User Profile > Preferences Tab > Default Home Page
    On this page you can also set the Default Group for the user. As groups have a Default Home Page property too, the Default Home Page can be managed on a group membership basis, if needed.
    Hope this helps.
    Regards,
    Peter

  • Allow users to save form responses as text or Word document?

    Is it possible to allow a respondant to save their responsesn to a .txt or .doc file upon completion of the form? 
    If this isn't possible in Adobe forms, does anyone know of another platform that would support this?
    Thanks!

    PDF and TXT or DOC are file types and file types are processed by applications. Adobe Acrobat can save to many different formats, Reader is very restricted as to what formats it can save to. Are you familiar with how Acrobat saves a PDF to the TXT or DOC format? Well it is the entire PDF and not just the fields. To save the content of the fields you need to export the form field data through a different menu option or the use of JavaScript.
    Acrobat can export to a CSV, FDF, or XFDF file type. With proper rights and JavaScript Reader could also save to the CSV, FDF, or XFDF file format. Acrobat with the use of JavaScript could create a PDF report on the fly that consist only of the field data and that file could be saved as a DOC or TXT file. Reader cannot create PDF reports.
    Using a web server and scripting on the web server opens more options.

  • How to change Number of Rows in a Tabular Form report page?

    Hi
    I am working with a tabular form to create an attendance sheet for a school using Oracle Application Express 3.0.1.00.12. Whenever I change the Number of Rows value from 10 to 1000 in the Layout and Pagination section of the report page, the SUBMIT button is not working and it is unable to process at that stage. How can I change the valu so that I can see all the rows in a single page, make changes to all rows and submit the page rightaway. Please help me.
    Thanks,
    Chak
    Edited by: user520137 on Jan 12, 2010 12:04 PM

    Hi
    I am working with a tabular form to create an attendance sheet for a school using Oracle Application Express 3.0.1.00.12. Whenever I change the Number of Rows value from 10 to 1000 in the Layout and Pagination section of the report page, the SUBMIT button is not working and it is unable to process at that stage. How can I change the valu so that I can see all the rows in a single page, make changes to all rows and submit the page rightaway. Please help me.
    Thanks,
    Chak
    Edited by: user520137 on Jan 12, 2010 12:04 PM

  • Enable firewall with GP but allow users to disable....

    I'm wondering how I can enable the firewall in group policy but allow a user to disable it if they have to.  I see that it says "settings are controlled by group policy" when I go to try to turn it off on a vista machine.  Thanks.

    Hi,
     GPOs do not provide this functionality unless you are using the special group policy preferences settings which do not include control over the firewall. You best bet is probably to simply deploy the OS with the default setting of the firewall being
    active and this would allow any local administrator to change the configuration.
     Alternatively, you could dig down and determine the registry keys to control the firewall and change those with group policy preferences.
    Thanks,
    Guy

  • [locked] Allow users to save the PDF file

    I've noticed that by using the form Distribution through either email, Acrobat.com, or a shared folder on the network the user can save the PDF file, correct? Do I understand this correctly? One other thing, what if I don't want to email out but just want the PDF form to be available on my website, will the user still be able to save a copy of the filled form for themselves to print or do whatever they want?

    Okay, is this the paragraph?
    15.12.3 For any unique Extended Document, you may only
    either (a) Deploy such Extended Document to an unlimited number of unique
    recipients but shall not extract information from more than five hundred (500)
    unique instances of such Extended Document or any hardcopy representation of
    such Extended Document containing filled form fields; or (b) Deploy such
    Extended Document to no more than five hundred (500) unique recipients without
    limits on the number of times you may extract information from such Extended
    Document returned to you filled-in by such Recipients. Notwithstanding anything
    therein to the contrary, obtaining additional licenses to use Acrobat Pro or
    Acrobat Pro Extended shall not increase the foregoing limits (that is, the
    foregoing limits are the aggregate total limits regardless of how many
    additional licenses to use Acrobat Pro or Acrobat Pro Extended you may have
    obtained).
    I'm not trying to break any laws but just curious as how Adobe would track that information. In any case, I'm not trying to capture/extract any information from the PDF form. Mainly what I'm trying to do or like to do is just allow the user to save the form. I don't want to capture or extract any information from the PDF form. My form is about three to four pages long and all I'm trying to do is allow the user to save the form that they partially filled and allow them to save the form so they can come back whenever they want to and finish filling up the form and that's it. I'm not looking for any data coming back to me. The user is required to print the form so their is no electronic information coming back. Is this still violate Adobe's limitation above?

  • How do i allow users to change their oracle password?

    Please help.
    I need a procedure/module in my forms6 to allow users change their oracle database passwords. I am using Oracle 8.0.6.
    thanks for a reply

    SEND YOUR EMAIL SO I CAN SEND YOU A COMPLETE
    FORM HOW TO CHANGE THE USER PASSWORD
    MARK

Maybe you are looking for