A form  have different  user  group only alter their comment

Dear all:
i have a table (called main_tab) with these columns,
WORK_DATE DATE
work_USER_ID NUMBER
work_USER_NAME VARCHAR2(50)
DEPT VARCHAR2(30)
SHIFT VARCHAR2(3)
CONTRACT_MANAGER VARCHAR2(50)
CONTRACT_HOURS NUMBER
OP_MANAGER VARCHAR2(50)
OP_HOURS NUMBER
HR_MANAGER VARCHAR2(50)
HR_HOURS NUMBER
SIGH_HOURS NUMBER
OP_REMARK VARCHAR2(100)
HR_REMARK VARCHAR2(100)
another table called USER
user_id NUMBER
USER_NAME VARCHAR2(50)
USER_GROUP VARCHAR2(50)
i want to do a form like this ( CONTRACT_MANAGER can add rows)
eg:
work_date is a date type can be selected(do not input manually)
work_USER_ID ,work_USER_NAME ,dept,shift need user input manually
contract_manager, op_manager,hr_manager is different user group
when these different user login application,they can only alter their own comments(CONTRACT_HOURS ,OP_HOURS ,HR_HOURS )
I think this may be a form, but i am not sure how to
please teach me how i can achieve this
many thanks. step by step will be best.
saven

Hi,
The first thing you need to do is define some Authentication Schemes. Have a read of this: http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/sec.htm#BABEDFGB
You should create one scheme for each type of user - how the schemes are defined depends on how you define those users, typically, though, it would be some form of SQL statement.
Then, create a form (or, more likely, a report with a form so the user can see the data and click a link to edit it or click a button to create a new record). On that form, for any item except the hidden Primary Key item (which you haven't listed on the table structure?), you can select the Authorization Scheme in the Security section of the page item, report column or button etc. Once an Authorization Scheme has been applied to an object, only users that are in that Scheme can interact with that object.
For the WORK_DATE item, just use a Datepicker page item - if you create a form using a wizard, this is usually done for you, but you should check the date format used
Andy

Similar Messages

  • Access control for different user groups in APEX 4.0

    Hi guys,
    in Apex 4.0, is there any way to use the access control page to configure access control for different user groups?
    The access control page currently only has an access control list by users with 3 privileges namely, Administrator, Edit & View where Administrator has the highest access level & View the lowest. Therefore 1 user cannot have more than 1 different privilege, however if the user belongs to 2 or more different groups then we can control what access he can have in a more fine grained manner. We also want to have more than the 3 privileges given.
    Can we assign different groups to different users and let them have different privileges to be configured by page, region, process or item level?
    Now Apex will create 2 tables, Apex_Access_Control & Apex_Access_Setup to store the application access control mode & access control list. It will also create 3 authorization schemes "access control - administrator", "access control - edit" & "access control - view" based on the 2 tables.
    Does this mean we have to change the table structures & edit the authorization schemes to suit our usage? We are reluctant to do this because if we upgrade to a newer version of Apex then we would have to merge our pl/sql coding with Apex's updated code.
    How can we auto-configure more than the 3 authorization schemes in the access control page? Is there any way to achieve a finer grain of access control based on the current access control administration page given by Apex without writing it ourselves?
    We are afraid that we may have missed something on Apex access control & do not want to reinvent the wheel.

    Hi Errol,
    to build your own application authorization scheme around the security model supplied by Apex for administration of the Apex environment would be a bad idea.
    This was never intended for authorization scheme management in custom built Apex applications, it was solely intended to control access in the Apex environment overall. The API for it is not published, and making changes to it, such as adding more roles, would run the risk of breaking the overall Apex security model. It would not be supported by Oracle and Oracle would not guarantee the upwards compatibility of any changes you make in future versions of Apex.
    In short, you should follow Tyson's advice and build your own structure. As he indicated, there are plenty of examples around and provided your requirements are not too complicated, it will be relatively simple.
    Regards
    Andre

  • How to send notifications to different user groups based on payload value

    Hi Gurus,
    I have a scenario in BPM where i have to send notifications to different user groups based on the payload value.
    ex:
    Payload sample:
    <employees>
    <emp1>
    <state>TX</state>
    </emp1>
    <emp2>
    <state>AZ</state>
    </emp2>
    </employees>
    Requirement: I have to send notification through Humantask to users of TX and AZ as mentioned in payload.
    Can you please help me out in achieving this in BPM?
    Thanks,
    Raju
    Edited by: user0808 on Mar 1, 2013 12:58 PM
    Edited by: user080811 on Mar 4, 2013 11:06 AM
    Edited by: user080811 on Mar 4, 2013 11:07 AM

    Hi Daniel,
    thanks a lot for your quick response.
    I went through your blog and tried implementing the same.
    But in my case i have to send parallel notifications to both the states.
    Please correct me if i am wrong, using if conditions in rules is allowing me to send to only one state.
    I also tried the following approach
    1) setting the organization units in bpm workspace
    2) passing values using human task parametric roles
    3) and looping the subprocess that has the humantask for the count of states.
    I am able to loop the subprocess but i am not able to change the parametric role value for the next iteration of the subprocess.
    Can you please help me in resolving this?
    thanks,
    Raju

  • Mass creation of common folders for different user groups

    Hello Experts,
    We are using Portal 7.0 SP12 and we have 10 different user groups created in Portal.
    Based on this group structure, we need to create two common folders in each of the user's personnel documents in KM.
    Is there is any way to achieve this kind of requirement ?
    Can we do mass creation of these two common folders which will be assigned to all of the groups. This needs to be done in user's personnel documents and not in Public documents.
    Any help in this context would be highly appreciated. points assured.
    Thanks in advance,
    Anil Kumar.

    For every user a folder is created in userhome. One approach is to capture this folder creation event and create the folder structure you need. You need to develop a portal service which will listen to events from userhome repository.
    1. Capture folder creation event for user home
    2. Create the folder structure you want in this event handler
    Check this documentation on how to do this.
    https://media.sdn.sap.com/html/submitted_docs/nw_kmc/howto/rf/client_api/rf_client_api.html
    Regards,
    Prasanna Krishnamurthy

  • ORA-04062 error when running forms with different users

    ORA-04062 error when running forms with different users
    I have a form that has a block that should display some data from another users tables. (The other user's name is dynamic, it's selected from a list box)
    I wrote a stored procedure to get the data from other user's tables.
    When I compile the form and run it with the same user I compiled, it works without any error. But when I run the compiled form with another user I get the ORA-04062 (signature of procedure has been changed) error.
    I tried setting REMOTE_DEPENDENCIES_MODE to SIGNATURE in init.ora but it didn't help.
    My Forms version is 6i with Patch 15.
    Database version is 9.
    Here is my stored procedure:
    TYPE Scenario_Tab IS TABLE OF NUMBER(34) INDEX BY BINARY INTEGER;
    TYPE Open_Curs IS REF CURSOR;
    PROCEDURE Get_Scenarios(User_Name IN VARCHAR2, Scen_Table OUT Scenario_Tab) IS
    Curs Open_Curs;
    i NUMBER;
    BEGIN
    OPEN Curs FOR
    'SELECT Seq_No FROM '|| User_Name ||'.scenario';
    i := 1;
    LOOP
    FETCH Curs INTO Scen_Table(i);
    EXIT WHEN Curs%NOTFOUND;
    i := i + 1;
    END LOOP;
    END Get_Senarios;
    I would be happy to solve this problem. It's really important.
    Maybe somebody can tell me another way to do what I want to do. (getting a list of values from another users tables)

    I think it should be a better solution to create a package,
    and put your own TYPES and procedure into it.
    CREATE OR REPLACE PACKAGE PKG_XXX IS
    TYPE TYP_TAB_CHAR IS TABLE OF .... ;
    PROCEDURE P_XX ( Var1 IN VARCHAR2, var2 IN OUT TYP_TAB_CHAR );
    END ;
    Then in your Form :
    Declare
    var PKG_XXX.TYP_TAB_CHAR ;
    Begin
    PKG_XXX.P_XX( 'user_name', var ) ;
    End ;

  • How to set different default interactive reports for different user groups?

    I'm probably overlooking an obvious solution, but how do I set different default interactive report for different user groups?
    For the same interactive report, I want one set of users to see a default where the default filter is based on column X. However, another group of users doesn't have authorization to see that column so I need to set the default filter to something else for them.
    Thanks

    You can set a filter on a report in a URL - would that help? I think with apex 4.x you can also link to a saved default report or alternative report...

  • Copying a query from different user group

    masters,
    is it possible to copy a query from different user group?
    if so please tell me how
    thnks!

    The query made from SQVI is only intended for individual use. It cannot be transported and there is no concept of Global/Standard area. To be able to transport or share the query to other users is by converting it to SAP Query wherein the source of data will also be converted to an Infoset. Remember that is done in the Standard query area. To do this, go to SQVI-> click SAP Query then go to menu Query -> Convert Quickviews... Select your Quickview queries and provide and infoset name.

  • How to configure SCCM 2012 discover user group only?

    Hi,
    I'm wondering if there is a way to discover user group only (ignore computer group) in SCCM 2012?
    Jason

    Hi,
    Also note that by default, only security groups are discovered. However, you can discover the membership of distribution
    groups when you select the checkbox for the option Discover the membership of distribution groups on
    the Option tab
    in the Active Directory Group Discovery Properties dialog box.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How can you use iMessage between 3 iPads with 3 different users but only one Apple ID?

    how can you use iMessage between 3 iPads with 3 different users but only one Apple ID?

    No you do not need separate Apple ID's in order to use 3 devices with one Apple ID. I use 4 devices to Message and FaceTime and all use the same Apple ID. You do need to add additional email addresses for the other devices.
    Look at this very informative video for the instructions.
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l

  • Segmented Form Fills - Different Users

    I have been tasked with creating forms for our departments.  As an example, there is a contract template where the sales person fills in some data, then it gets sent to the potential client to fill in.
    I do not see how to restrict data entry between the two groups. I don't want to allow the clients to adjust the sales data which is mostly pricing.
    Could someone be so kind as to either provide an answer or point me to where I can find more info on accomplishing this (using XI Pro)? 

    There are two ways to prevent the second group from altering the information entered by the first. You can either set the relevant fields to read-only and save, or flatten the fields. Flattening select fields can be done with JavaScript, but it requires Acrobat. Setting fields to read-only can be done with JavaScript and works with Reader.
    With a contract, I would suggest flattening, since setting the fields to read-only would not prevent someone from easily altering the fields. It's not so easy that it can happen accidentally or casually, but someone who is motivated could.

  • Different Password Policy for Different User Groups in ACS 4.2

    Hi All,
    Can some one provide a solution for the below requirement?
    We do have ACS 4.2 appliance managing firewalls of different clients. The users are common i.e, helpdesk administrators. One of the client came up with setting different password policy for managing their devices i.e, the client wants to have min 15 characters as password length. We do have currently 8 characters as min password length. Can we change the password policy to min 15 characters only for managing the firewalls of this client whereas for all other client firewalls we feel better to have 8 characters as min password length?
    It seems that these password policies are global & affects all the users.
    This is something like, having two sets of password (for each user) policy depending on the client which he is going to manage.
    For my knowledge, i think that this is not possible. But, thought to cross-check with experts!
    -Jags.

    Hi jags,
    Yor're correct. Password policy on ACS will affect all internal user. We can't create different password policies for diferent clients/connections/set_of_users
    Password validation options apply only to user passwords that are stored in the ACS internal database. They do not apply to passwords in user records in external user databases; nor do they apply to enable or admin passwords for Cisco IOS network devices.
    HTH
    Regards,
    JK

  • How to set different urls for logoff button for different user groups

    HI All,
    We have two different set of users in our company .when one user group clicks on the logoff button in masthead we want to redirect them to for example www.google.com and for the other group we want to redirect to www.gmail.com.
    How can we acheive this particular requirement
    Thanks
    Bala Duvvuri

    hi bala,
    For the  two user groups maintain two different desktops, two/same themes and frame work.change the headeriview jsp in masthead par file to Google and save it as masthead1 and another one with gmail as masthead2 then create iviews with that par file and assign them to different groups and make invisible the default masthead iview.then the users get the logoff based on group you can get some wikis on changing log off or redirecting log off, check these threads
    Portal logoff : Redirection or Close the Entire Window
    Portal Logoff redirection URL
    Regards
    Mahesh

  • Can't change OWA settings so users can only enter their username

    Hi
    I have a root domain and a child domain with full trust in between.  Exchange 2013 servers are installed on the child domain.  All our users are in the child domain and root domain is empty.
    I want our users to enter ONLY their username to logon to OWA.
    I go to EAC > servers > virtual directories > owa settings > authentication > "user name only".  HOWEVER when I click on "Browse" button to pick my domain it ONLY shows the root domain in the list.  The domain
    that mailboxes are in and servers are in is missing from this list.  What gives?
    I appreciate your help.
    Thanks

    Hi,
    Before we go further, I‘d like to confirm the detail named method of your root domain and child domain. For example, root domain is domain.com and child domain is a.domain.com
    As far as I know, the logon domain property always automatically shows the default domain. Alternatively, we can depend on command to enable the authentication:
    Set-OwaVirtualDirectory "owa (Default Web Site)" -LogonFormat Username -DefaultDomain domian.com
    With the command above we set Exchange 2013 OWA to be user name only.Then restart IIS
    for the changes to be effective
    Thanks,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Angela Shi
    TechNet Community Support

  • Using different configured views for different user group in crm2007

    Hello SAP Expert,
    Want to clarify if the BADI (Configuration Access Determination BADI ; BSP_DLC_ACCESS_ENHANCEMENT)  is used as design time or Run time. By looking the help of this BADI it says "This Business Add-In (BAdI) is used in the UI Configuration Tool (CRM-FRW-CON) component." Looks like this is at configuration time not at run time.
    The actual requirement is that for a set of users which work on a particular department, we want to have some extra information on 2 views and rest of the views they would be using same as entire organization. We are inclined towards using config role rather than zviews. If we were to use zviews then it would not be a difficult one.
    We were thinking of a mechanism to show the configured view based on user's Business Role at runtime. e.g. we have 2 roles A and B. Role A user have only 2 views specific to them and all other views they use same as Role B. We do not want to use ZView rather use Role Config Key to distinguish the views. What I was thinking that we should be able to create these 2 views with Config Role A and all  views (including these 2) with Config Role B. On Business Role A and Business Role B both, We will assign Config Role "B". but at runtime system should determine if the Business Role is A and Component is CMP1 then use the view V1 with Config Role A not the default view with config role B. (we can maintain that information in a Z table). This is not based on runtime profile but to use configured view at runtime.
    Any thoughts/ help really appreciated.
    Best regards,

    Hi Amithab,
    you can use badi CRM_BP_UIU_VIEW_CONFIG  of enhancement spot CRM_UIU_BP_ENHANCEMENT for your requirements. Please read the badi documentation because you need also a implementation of badi CRM_BP_UIU_CONFIG_CALLBACK (same spot). SAP considers badi CRM_BP_UIU_VIEW_CONFIG only for use at dynamically loading different configuartions of view details for business partners or contact persons at runtime. But you can use your badi implementation also for other views. You have to redefine method DO_CONFIG_DETERMINATION in your views. And call your badi from there. For this copy&paste the logic of DO_CONFIG_DETERMINATION of bp details to the views you have to load dynamically at runtime.
    We have used this approach for access controll and granting special access to views dependent on different employee functions.
    Best regards
    Michael

  • HT204053 I have multiple people in my family that use Itunes under my account. Is it possible for them to have different user names? The reason why I am asking is when I go to FaceTime my daughter's iPhone it also rings to my husbands iPhone.

    When I used facetime on my Macbookair for the first time I facetimed my daughter's iphone and it also rang to my husbands iphone. How do I keep that from happening? We all use the same itunes account so does it have something to do with that? do we each our own apple ID? and is it possible to do that?

    Create an AppleID under different email addresses for each family member at http://appleid.apple.com
    If they don't already have their own email address just setup a free one with Gmail, Yahoo, Hotmail or whoever you prefer.
    Then on each device sign into iMessage with the users own AppleID in:
    Settings > Messages > Send &amp; Receive > Tap AppleID at top > Sign Out, then sign back in again with the correct AppleID.

Maybe you are looking for

  • Expression Question for SQL Server Reporting Services 2008 R2

    I am trying to form an expression that will give me the est. hours for a specific project type.  Project Type is a field in the data set as well as est.hrs.  There are no calculations needed.  The hours is listed under the field name"Est.Hours".  So

  • URGENT HELP in multilingual data saving

    Hi, We are trying to create a multilingual application using Java and Oracle. In the browser, my charset encoding is UTF8, then my database charset is defined as WE8ISO8859P1. If i try to send a data (latvian language) and save it in the database, th

  • Redirect to "can't find the i-web page"/file name change

    i published a website thru mobileme (http://www.hale-o-lani-aloha.com). when i type my website address in e-mails and check the link, i sometimes got directed to a page that said "we're sorry but we can't find the i-web page you've requested..." (yes

  • Captivate 6 trial

    I am looking for a trial of Captivate 6 (64 bit) and only see Captivate 7

  • Emails that get filed in draft folder

      When I am in my in-box with an email open.  I accidentally hit the draft button at the top of the email.  I saw the email get filed in the draft folder, but I don't know where to go to retrieve that email out of drafts.