Tutorial: Issue Tracker, Problem with Authorization

Hi All,
I just worked through the Issue Trackin System Tutorial, everything looks great except the Authorization. I did the Tutorial on our local Instance of HTMLDB so I had to modify the Authorization Schemes a little. People should login using their internal HTMLDB-Account, which uses an extra loginname, not the email adress. So i added a column PERSON_LOGIN to the ht_people table which holds the userID. My Authorizationscheme looks like this:
select '1' from ht_people where
(upper(PERSON_LOGIN) = upper(:APP_USER) and
PERSON_ROLE in ('Lead','Member') and
ASSIGNED_PROJECT = :P7_RELATED_PROJECT)
or (:APP_USER = 'HOWTO')
or (:P7_ISSUE_ID is null)
This Scheme simply does not work, the user does not get the authorization to edit the issues assigned to him. I can´t see the problem, if I do this query I get the expected column back. If I log in to the Application and try to edit the issues, I don´t get the neccesary authorization. Any Ides ?

From Scott -
I installed that demo app on our hosted site. I don't see anything structurally wrong with page 0 breadcrumbs. When you edit page 0, do you see the correct menu region, or is there a big number where its name should be? If you find something that you cannot repair, please let us know.
As for the authorization schemes, I see what's going on. The scheme controls the display of buttons and a region on page 7 and is evaluated during the rendering of the region and the buttons. These events take place before the item P7_RELATED_PROJECT is rendered, thus before its session state is established or altered during that page view. However the implementation of the authorization scheme references the current session state of that item. That won't work. Using standard conditions (vs. authorization schemes) to control the buttons/regions that are earlier on the page than the referenced item would have the same problem if they used the same logic. For situations like this, LOVs that submit the page and result in a branch back to the same page can be very useful, or splitting the page into multiple pages, as in wizard implementations, can also work.
From Sharon -
I want to thank you for pointing out this bug. This is our first tutorial document and a lot of time was spent making sure that users could follow the directions and learn how to create all the objects that make up an application. Obviously, not enough time was spent testing the resultant application. The statement below should work for the Authorization Scheme in question.
select '1'
from ht_people
where (person_email = :APP_USER and
person_role in ('Lead','Member') and
assigned_project = (select related_project
from ht_issues
where issue_id = :P7_ISSUE_ID))
or (:APP_USER = 'HOWTO')
or (:P7_ISSUE_ID is null)
You will notice that is allows the modification of the issue by either the Lead or any Member of the project, not just the one assigned. When I update the document and repost on OTN, I will make a note of that.
This checks that the current value of related project is the project that the Member or Lead is assigned to. It is true that while viewing the page, the user can change the related project. Once the change is applied, they would no longer be able to edit that issue.

Similar Messages

  • Tutorial: Issue Tracker, Problem with Authorization Scheme

    Hi, the application works fine, "issue_tracker_1.6" no mods added, except when trying to access like CEO, Manager or Member the system don`t recognize these users only the HOWTO works.
    Thanks in advance.

    Ok, found the a solution viewing at the similar question.

  • Oracle HTML DB Tutorial: Building an Issue Tracking System with Oracle XE

    Hello.
    I am using Oracle XE and have loaded the sample Issue Tracking System.
    I had to set the time-out to 100 seconds as explained in the Oracle XE thread: “Problem with importing HTML DB applications” (Problem with importing HTML DB applications
    I am trying to create users.
    The documentation at http://www.oracle.com/technology/products/database/htmldb/pdf/issue_tracking_tutorial_1.6.pdf
    on page 82 discusses using HTML DB authentication. However, my understanding is that the HTML DB in Oracle XE currently uses only DATABASE authentication.
    Is there any documentation on creating users for the sample Issue Tracking System using Oracle XE?
    Thanks!
    -Ricky Burke
    [email protected]
    972-235-5665

    Ricky,
    I am trying to create users.
    The documentation at
    http://www.oracle.com/technology/products/database/htmldb/pdf/issue_tracking_tutorial_1.6.pdf
    on page 82 discusses using HTML DB authentication. However, my understanding is that
    the HTML DB in Oracle XE currently uses only DATABASE authentication.Well, in order to log in to the XE management GUI you use the database account. This is correct.
    But for authenticating to the application you are going to build, you still have all possible authentication schemes available as in HTML DB (standalone).
    Well, you should be able to just go ahead and create the HTML DB users in your workspace (for example HR). In XE a workspace corresponds to an actual Oracle database user, a workspace is created implicitly for the user.
    Thus, just go to Home > Application Builder and will find on the right hand side under "Tasks" the link "Manage HTML DB Users".
    There you can create the users in your workspace for your application.
    ~Dietmar.

  • Problem with Authorization for Planning folder

    Hi an having a problem with providing authorization for a planning folder
    i am getting the following error when i test it with test user
    Error while calling up RFC
    Message no. UPC202
    Diagnosis
    You have selected a function, to execute this the system must set up an RFC connection to another SAP System. However, setting up this connection was not successful. The following internal error message was generated:
    "You do not have authorization for InfoCube ZT_MR_T "
    Procedure
    Inform the system administrator.
    we are not pulling the data from any other server, all the data is on the sif any one has faced the same issue let me know.
    Regards,
    Abraham

    Calling Thru Trans code: BPS0 in ECC 6
    getting this error:
    Error while calling up RFC
    Message No. UPC202
    Diagnosis
    You have selected a function, to execute this the system must set up an RFC connection to another SAP System. However, setting up this connection was not successful. The following internal error message was generated:
    "An error occurred during the receipt of a complex parameter."
    after i check in bw trans code:st22
    Following this error message:
    Category                   Internal Kernel Error
    Runtime Errors         PARAMETER_CONVERSION_ERROR
    Application Component  BC-MID-RFC
    Short text
        An error occurred during the receipt of a complex parameter.
    What happened?
        During a remote function call, an error occurred while converting
        a complex parameter.
    What can you do?
        Note which actions and input led to the error.
        For further help in handling the problem, contact your SAP administrator
        You can use the ABAP dump analysis transaction ST22 to view and manage
        termination messages, in particular for long term reference.
    Error analysis
        An error occurred during the conversion of a complex parameter.

  • Problem with Authorization for BW BPS planning Folder

    Hi an having a problem with providing authorization for a planning folder
    i am getting the following error when i test it with test user
    Error while calling up RFC
    Message no. UPC202
    Diagnosis
    You have selected a function, to execute this the system must set up an RFC connection to another SAP System. However, setting up this connection was not successful. The following internal error message was generated:
    "You do not have authorization for InfoCube ZT_MR_T "
    Procedure
    Inform the system administrator.
    if any one has faced the same issue let me know.
    Regards,
    Abraham

    HI ,
    I Checked it out we dont have that cube in our system.
    Regards,
    Abraham

  • Iphone 5. Problem with authorization by Wifi spot

    Dear collegues!
    Now i am in business trip and tired by the problem of connection to hotel's wireless networks that use internal authorization.
    I mean the situation when network itself has no password, but i have to enter login credentials in authorization window that pops up after connecting to wireless spot.
    In 80% cases this window doesn't appear, i try to on/off wi-fi, reset net settings of Iphone and after some attempts of such a workaround - sacred window appears and i can work till next time connecting. It happens without any dependance.
    Other devices (Android) has no such a trouble.
    What can i do? Is it possible to force this extra authorization window?
    Thank you!

    I've had this same problem with both my 4S and now my 5.  I've been an iPhone owner since day 3 of the original, and I never had this problem until iOS 6.  I'm now running the betas of iOS 6.1 and it still hasn't been resolved.
    One of the very first things that I tried was resetting the network settings as advised above.  Doesn't resolve the issue.

  • Multiple Video Tracks Problem with Back Button

    Hi,
    I am making a DVD that has to contain 16 films. Unfortunately the videos don't have the same aspect ratios, so I have to create one video track for each film.
    When the DVD is started they are supposed to play all in a row (no menus). So the end action for each track is to jump to the first chapter of the next track.
    My problem is that once I am playing, say, track 5, there is no way to get back to track 4 with the "back button" on the remote control.
    Do I have to script this? And if yes, how?

    That is exactly my problem. Chapter markers only work on the same track, for some reason you can't jump to a chapter in a different track. What I need is a solution to jump from a track to the previous one when pressing the back button on the remote.
    As I wrote before I can't use just one track for all films, because they have different aspect ratios.
    Message was edited by: schmiddl

  • Problem with authorize my computer

    Hi I am having problems with the authorization of my computer every time I go to "shop" "authorize computer"and the itunes asks me apple ID and password and I type it and later itunes says that this computer is Allow 1 of 5
    but when I go through my applications that I bought in itunes store the itunes says tah my computer is not authorized...
    What can I do to pass applicatives to my iPhone?

    I'm also having the same problem. They started after I replaced a hard disk.
    i-tunes wants authorization and gets...tells me the computer is already authorized and refuses to recognize the phone. If I run the sync it cleans out all of the apps from the phone and wont send any to the phone.

  • Mighty Mouse Tracking Problems with Mac mini core duo

    I have a new Mac mini core duo (2GB RAM, 100GB HDD) and I'm having problems with my USB Might Mouse.
    The cursor stutters and doesn't track with the movement of the mouse and it will sometimes leap to a different part of the screen or get stuck at the last place it rested. At other times the mouse will track smoothly for a while before starting to stutter again. The behavior isn't consistent.
    Is anybody else having tracking problems?
    Any thoughts on what might be causing this behavior?
    iMac G5 20 & Mac mini 1.42Ghz, PB G4 1.67Mhz, Mac mini core duo   Mac OS X (10.4.6)  

    Hmm, this could be one of two things. Your mac might be faulty (Harware wise) which would suck. But, hopefully it is a problem with your drivers that need updating. Try these 3 options.
    1. Update you mouse driver.
    2. Update you video card driver (Video cards can sometimes affect mouse sensitivety -don't ask why)
    3. This is my last solution, before consulting a technician (For money if you can do it free talk to one!) or returning your mini: Try reformating/reinstalling Max OSX and if u have bootcamp check out wat happens to the mouse in XP check for the same problem if it doesn't happen in XP your hardware is safe. IF the problem continues after this... looks like your hardware is bad in that case i recomend a return or send back (If your on warranty).
    GOod luck,
    Wannabe

  • User Productivity Kit - Usage Tracking - Problem with installation

    Hello,
    I'm trying to install Usage Tracking 3.6 on Windows 2003 x64 Server Standard Edition. During the process when I click on Install there is a problem with the Common Usage Tracking Libraries installation. The windows error dialog box is: problem with installing Usage Tracking Libraries return code : 1203.
    Is somebody can help me ?

    Hello,
    I'm trying to install Usage Tracking 3.6 on Windows 2003 x64 Server Standard Edition. During the process when I click on Install there is a problem with the Common Usage Tracking Libraries installation. The windows error dialog box is: problem with installing Usage Tracking Libraries return code : 1203.
    Is somebody can help me ?

  • Problem with authorization M_MATE_MAT

    hi guys,
    i have created authorization role with authorization object M_MATE_MAT
    and i put the value of begru = COMM, but when i display the PR, the search help still displays all material group even the authorization group is not COMM , is there anything that i missed out, pls help

    Hello
    No, you did not miss anything out.
    But authorizations usually do not restrict the values displayed in search helps.
    Regards
      Uwe

  • Problem with authorization after logout (adfc issue?)

    Hi,
    I have an application with implemented ADF Security, and navigation case login.jspx -> home defined in adfc-config.xml ("home" is the name of view activity, page is home.jspx),
    logout is done through redirecting to /adfAuthentication?logout=true&end_url=/faces/login.jspx.
    If I do the login & loguot repeatedly, after 6-7 times (sometimes 2-3, sometimes >10 but definitely happens) after logging in I get authorization exception saying I am not authorized to view home.jspx.
    Note that on adfc-config.xml home.jspx is registered as "home", and if I type "home" in URL instead of "home.jspx", I can access the page.
    Anybody seen similar behavior?
    Thanks,
    Pedja

    Here is a workaround:
    Login button executes this code for authenticating against WLS
        public String login() throws LoginException, IOException {
            String un = (getUsername() == null ? "" : getUsername());
            String pw = (getPassword() == null ? "" : getPassword());
            FacesContext ctx = FacesContext.getCurrentInstance();
            HttpServletRequest request = (HttpServletRequest)ctx.getExternalContext().getRequest();
            CallbackHandler handler = new SimpleCallbackHandler(un, pw.getBytes());
            try {
                ServletAuthentication.login(handler, request);
            } catch (FailedLoginException fle) {
                FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, " ", "Login error!"));
                ctx.addMessage(null, msg);
                return null;
            return "success";
        }If I call response.redirect("/faces/home") instead of returning a navigation action, the error can no longer be reproduced.
    So, is this ADFc or ADFSecurity issue (adfAuthentication servlet gets confused)?
    By the way, I'm using WLS's Default Authenticator, but this behavior has reproduced on few other applications, some of them use SQLAuthenticator, so this is not a WLS issue.
    Pedja

  • M-Audio M-Track problem with Mainstage 3.0.2

    I recently purchased an M-Audio M-Track and wanted to use this to input guitar tracks into Mainstage 3.  However, when I try, it does not recognize any inputs.  The M-Track is working fine, because I can use it without any issue with Mainstage 2 and it also works fine with Ignite.  I have seen other entries in the forum for with the same issue for the Fast Track.  For the Fast Track, it appears that the problem was fixed with new drivers.  However, there are no drivers for the M-Track.  Has anyone been successful in getting 3.0.2 to recognize inputs for the M-Track?

    Hello, crosbygs. 
    Thank you for visiting Apple Support Communities. 
    Here are a couple resources I would recommend going through for this issue. 
    MainStage 3: MIDI devices overview
    http://support.apple.com/kb/PH13519
    MainStage 3: Audio preferences
    http://support.apple.com/kb/PH13675
    Cheers,
    Jason H. 

  • I can't sync my macbook air with my ipad, problems with authorization... this keeps cropping up: "The required file was not found or has a permissions error. Correct this permissions problem and try again, or deauthorize this computer if the permi"

    Help, cannot sync completely with my ipad, and i also cannot remove or delete shared photos which are clogging up my ipad 64GB memory! Some issue with this keeps croppin gup, so frustrating:
    "The required file was not found or has a permissions error. Correct this permissions problem and try again, or deauthorize this computer if the permissions cannot be changed."
    Not sure how we can correct his permissions problem, and whether authorising or deautorizing makes any difference, with more and more errors keep popping up, this got to be such after an update of the OS, can remember which!?
    HELP!!!

    follow this:
    Launch iTunes
    select iTunes Store from the menu on the left side.
    sign in via the link on the top right area if you haven't done so already
    click the link where you Apple ID email appears, enter your Apple ID password, click View Account, this will take you to a page displaying detailed information about your Apple ID account.
    The last item under Apple ID summary should be Computer Authorisations, click Deauthorize All
    now reauthorize any computers as needed when the system prompts you.
    good luck.

  • Unexpected problem with authorization scheme of type plsql function

    Hi,
    I have created one authorization scheme of type plsql function returning boolean. Authorization scheme is for pages only. p2_user_priviledge is a textbox on home page which extract privilege (list of pagenos) for login user from database. Home page has no authorization required. AUTHORIZATION SCHEME always returns false. I am not able to trace problem in my code. same code works fine for a textbox's default returning 'c'.
    ----- CODE FOR AUTHORIZATION SCHEME------------------------------------------------------------
    declare
    pageid varchar2(10);
    privilege varchar2(300);
    c number(3);
    begin
    pageid := ':P'||to_char(:app_page_id)||':' ; ---Pageno get stored in format  *:P2:*
    privilege := trim(:p2_user_priviledge); ++------Contain list of privilege like    :P2:P13:P67:P23:  etc+++ select instr(privilege,pageid) into c from dual;
    if c>0 then
    return true;
    else
    return false;
    end if;
    end;
    One more problem is again related to authorization scheme.
    I created one application and one authorization scheme (auth_aug) which worked finely. Then after some days i added 10 more pages to same application, But now autho_aug was always returning false for new pages. So i copied code from 'autho_aug' to new scheme 'autho_sept', & it worked for new pages. I don't understand if code is same for both scheme, why required to use two different schemes.
    Now i have added few more pages to application, and facing problem mentioned earlier.
    any solution for both the problems.....

    Hi,
    Let me clear my problem once again.
    -->Home page i.e. P2 does not use authorization, So it is displayed along with text item :p2_user_privilege.
    -->Then user click on one of the links , Now page :P70: should get displayed.
    P70 is using authorization scheme.
    -->But :p2_user_priviledge value is not accessible at authorization scheme, I dont know why.
    I could not find out where to create Application item , as suggested by you.
    & not able to find Developer menu , session at home page as suggested earlier.
    And one more question, my application at runtime display
    X en us
    at bottom
    How to make it
    USER: X Language: en us
    Like in development environment.
    Hope I have cleared my problem, waiting for reply.
    Edited by: TEJU on Nov 17, 2008 9:25 AM

Maybe you are looking for

  • Does Time Machine Backup irritate wireless Mighty Mouse?

    Hi there. I'm having a strange issue here. With an iMac that came with bluetooth mouse and keyboard, OS out of the box (no software updates installed because there's no internet connection), each time Time Machine is backuping files, the Mighty Mouse

  • Building DLLs

    I'm learning JNI and I try to use the sun's tutorial at: http://java.sun.com/docs/books/tutorial/native1.1/index.html I can do everything with Java, but I can't compile the .c, my compiler (dev-c++) reports an error message in the first line: #includ

  • Safari is not quitting.

    I've tried force quit, I've tried to force quit through terminal and activity monitor but I can't actually see safari in either places, and I can't restart or shut down my mac. When I right click on the safari app, it says "application not responding

  • SEM BPS Requirements

    Does someone have any list of questions to ask during SEM BPS requirements gathering session for new planning process?

  • Fatal Error:  Problem parsing signature --D

    I get "Fatal Error: Problem parsing signature --D" followed by the name of the class that I'm attempting to initialize. This occurs when I run the program, however I don't get this when I am debugging. Does anyone know what this means and how I can f