Which granted select on a table and when?

Hi all
We are running Oracle 10 g. There are a few differences with an array of our production compared to development environments. The table on the development has also provided a grant and has also a synonym. My boss wants to know who was granted access to this table and when? I'm not a DBA. I asked our s/n, and he said that he doesn't think that Oracle keeps track of this type of information. Is it possible to follow these types of changes? Who created such synonym for this table and when? One last thing to add, is that checking is not turned on.


Thank you for your comments,

Seyed

We can see when synonyms are created but not who created unless there is a check of all DDL

SQL > select TIMESTAMP, CREATION, OWNER, LAST_DDL_TIME, OBJECT_NAME from dba_objects where type_objet = 'SYNONYM' and OBJECT_NAME ='-' and owner ='-';

-Thank you

Tags: Database

Similar Questions

  • Access grant select on all tables in a diagram to another diagram

    Hi all

    I can grant select access on the tables of a schema (SAY USER1) to another (SAY USER2) by giving him a role and in turn grant this role to another scheme as below:

    FOR x IN (SELECT * from user_tables)
    LOOP
    RUN IMMEDIATELY "SELECT WE GRANT | x.table_name | "To < < role1 > > ';
    END LOOP;

    Role1 Grant User2;

    but my question is that suppose I create another table say "TEMP_TAB" in the scheme of USER1 after the execution of the block above user2 will be able to access the table TEMP_TAB. My guess is certainly not. If I'm wrong, I want a way to grant select on a table in the schema of user1 immediately as and when it is created to User2.

    Please suggest a solution.

    Thank you and best regards,
    Vipin Kumar Rai

    993280 wrote:
    Knani,

    but in this case the User2 can choose any table in any schema. I want only USER2 for the right to select for only User1 tables.

    Thank you
    Vipin

    Oh sorry. Misinterpreted your post. What you did is the right way to do it. You must add the select role privilege whenever you create a new table. There is no "SELECT the TABLE all THE" specific to a type of data user privilege.

  • GRANT SELECT on a table to the user / role changes for the tab last_DDL

    Hello

    Is grant select (or any private object) to the user/role a DDL statement?

    GRANT SELECT on a table to the user / role changes the last_DDL to the table.
    1 > is this expected behavior?
    2 > no way in which we can grant select on a table by another user, without changing the DDL? (for example create view).


    The test is performed:

    Prior to the issuance:


    OBJECT_NAME CREATED TIMESTAMP LAST_DDL_TIME OWNER
    ------- ---------------------- ---------- ------------- --------------------
    AR HZ_CUSTOMER_PROFILES 8 MAY 00 13 MARCH 13 2003-06 - 26:12:41:29



    Grant statement:
    GRANT SELECT ON "AR". "' HZ_CUSTOMER_PROFILES ' TO 'AR_VIEW ';

    Note: AR_VIEW is a role, I tried granting also directly to the user.


    After the grant:

    OBJECT_NAME CREATED TIMESTAMP LAST_DDL_TIME OWNER
    ------- ---------------------- ---------- ------------- --------------------
    AR HZ_CUSTOMER_PROFILES 8 MAY 00 21 MARCH 13 2003-06 - 26:12:41:29



    Old thread, discuss whether Grant is DDL or not, but no documented conclusions.
    ( Re: Grant, revoke is DDL and DCL? )

    Please help in the assessment above.

    -Best regards,.
    Mani

    It's the DOF.

    After all, this isn't DML, it implicitly committed and you cannot use it directly in PL/SQL: features of DDL. :-)

  • Selected line AF:table see, when the color

    Hello

    I put some color on the column of my table with this method:

    public String getConditionalBackgroundColor() {}
    System.out.println ("WW:" + executeValueExpression ("#{rank.")) (OvruLibelle}') + "-" + getBindingAttributeValue ("OvruLibelle"));
    String res = "";
    String color = (String) executeValueExpression ("#{rank.") OvrtColor}");
    If (color is nothing)
    Color = "";
    If (color.equalsIgnoreCase ('green'))
    RES = res + "background-color: lightgreen;" \n » ;
    ElseIf (color.equalsIgnoreCase ("blue"))
    RES = res + "background-color: color lightblue;" \n » ;
    return res;
    }

    But now I don't see when a lines which is colorful, is selected...

    I can't find a solution... I would like the line becomes blue when selected, as before...

    Kind regards
    Julien

    Hello

    I think you want the selected lines to bottom right blue color?

    If Yes, you can override the default property that is given for af | : the table-row data: selected

    AF | : the table-row data: selected af | : given the column-cell, af | : the table-row data: selected af | column: {banded-data-cell
    make-weight: bold;
    color: Blue;
    or
    background-color: blue;
    }

  • Selection of the table and clicks by only clicking on the row in the table

    My dilemma is that we create an interface that is a touch screen interface. It's base table. Currently, I have a button integrated in each row of the table when you click the button, it takes you to a selected line details window. What I want to happen is to completely remove the button and have the line to act as a button - you click on the line (anywhere in the line) and the action takes you to the details screen - the same model as the use of smart phones. I have the table selection listener in support of bean (hanging on a generic selection listener that I created) and selection of listener method calls the string that starts the movement of workflow. I there prints that tell me that these methods are called, but I don't get any action when I click on the row in the table.

    This is the code in the .jsff file:

    + < af:table value = "#{bindings.drives.collectionModel}" var = "row" + "
    + Rows = "#{Bindings.drives.rangeSize}" +.
    + EmptyText = "#{Bindings.drives.Viewable?" "{'No data to display.': 'Access Denied.'}". +
    + fetchSize = "#{Bindings.drives.rangeSize}" +.
    + rowBandingInterval = "1" id = "t1" rowSelection = 'single ' +.
    + width = '100% ' contentDelivery = 'immediate ' +.
    + columnResizing = 'disabled' autoHeightRows = '30 ' +.
    + columnStretching = "column: c7 ' disableColumnReordering = 'true ' +.
    + selectionListener = "#{DriveBean.onSelectionChange}" +.
    + partialTriggers =': t1 "> +"

    The 'onSelectionChange' method looks like this:

    + ' public void onSelectionChange (SelectionEvent selectionEvent) {+
    + GenericTableSelectionHandler.makeCurrent (selectionEvent); +
    + goToDriveProperties(); +
    +}+

    + public String goToDriveProperties() {+
    + return "gotoProperties"; +
    +}+

    The GenericTableSelectionHandler class looks like this:

    + public class GenericTableSelectionHandler {+
    + public GenericTableSelectionHandler() {+
    + super(); +
    +}+

    public static void makeCurrent (SelectionEvent selectionEvent) + {+
    + Table richeTableau = (RichTable) selectionEvent.getSource (); +
    + TableModel CollectionModel = (CollectionModel) table.getValue (); +
    + JUCtrlHierBinding adfTableBinding = (JUCtrlHierBinding) tableModel.getWrappedData (); +
    + DCIteratorBinding tableIteratorBinding = adfTableBinding.getDCIteratorBinding (); +
    + Object selectedRowDate = table.getSelectedRowData (); +
    + JUCtrlHierNodeBinding nodeBinding = selectedRowDate (JUCtrlHierNodeBinding); +
    + Key rwKey = nodeBinding.getRowKey (); +
    + tableIteratorBinding.setCurrentRowWithKey (rwKey.toStringFormat (true)); +
    +}+
    +}+

    I don't know what to do with that to initiate this movement of workflow. Can someone help me?

    The method used for navigation is NOT the navigation to the required page.

    public String goToDriveProperties() {}
    Return "gotoProperties";
    }

    Instead, call the navigation pro-grammatically Manager as follows:

    * public String goToDriveProperties() {*}
    FacesContext context = FacesContext.getCurrentInstance ();
    context.getApplication () .getNavigationHandler () .handleNavigation (context,
    NULL,
    * 'gotoProperties'); *
    }

  • Select the pre-order and when the stock is out

    Hello

    We want to be able to define the product, so when it is out of stock poster a pre-order form and the client can fill it out and we can get back to them with a price. Goods are bought from overseas as well as price changes all the time.

    What is the best way to do it?  I noticed the ' activate Pre-Order ' option in the 'low stock Notification' fall down, but I think he just tells us low stock?  We require details of customers so that we can contact them.

    Thanks for any help or suggestion.

    Joe

    Hello

    You can use javascript to automatically check if the stock is 0 and if true submit the form online (assuming it is prefilled).

    This configuration requires some knowledge of JS - https://api.jquery.com/submit/

    Thank you

    Mihai

  • How can I determine which is selected in a report and form the appication

    I have the need to choose what is selected, for example the primary key that is selected in the first form.
    Thank you
    Doug

    Hello

    I think this can be done using a "sweater in the region." Take a look on: [http://apex.oracle.com/pls/otn/f?p=48982:1] sorting on the second page won't work, but otherwise you get a copy of the report from page 1 exactly as the user he had before clicking on the link for an article.

    Andy

  • How to remove grant select to one user, if this table contains public subsidies.

    Hi all

    Owner of the table gave all access to a table to the public

    for example

    >

    grant all on table1  to public;
    

    But now for a user "user1" if we remove select grant

     revoke   select  on table1 from user1;
    

    I get the error ORA-01927: cannot REVOKE privileges you did not

    OK if I revoke all access to "user1."

    revoke   all  on table1 from user1;
    

    I get Revoke succeeded.

    But always in the connection of the User1, I can select data from table1.

    Why?

    Is it because I gave all subsidies to the public?

    Above scenario must revoke the access of a user to a table that has all government subsidies.

    Yes, it's because SELECT on the table access has been granted to the PUBLIC.  The user still has the option to SELECT the table after you have removed the direct subsidies because they can always access privileges granted by the PUBLIC.

    If you want all users to have access to the table, you shouldn't be granting access to the PUBLIC in the first place.  Create a new role, grant SELECT on the table for this new role and assign this role to all users need.

    If for any reason, you're stuck with the issuance to the PUBLIC, I suppose you could create a policy from the CAE on the table that prevents the user to see all the data.  But it's a lot more work to get grants of privilege correct in the first place.

    Justin

  • Grant 'select only "on the basis of data

    Hello

    10.2.0.2 Dim.

    I want to give a user with "Select any object in the database"

    Thank you
    KSG

    >
    I am also finding an alternative path to the query below. (since there are more than 100 patterns and n number of objects) ("grant select on any table of " is not a best choic)
    >
    You are the only person who can assess your security needs.

    But if you want to exercise a positive security measures do not TAKE SHORTCUTS. This means put in place restrictions known on well-known objects and not grant on a table or an object and any grants a single user or super role.

    Aman and others have already said a good security refers to the compartmentalization and a rigid hierarchy. The objective of the implementation process and standards is not to make developers work more easier or faster. Yes - do the work correctly on 100 patterns and a large number of objects in each scheme will be tedious. You can automatically generate basic subsidies and coil them to scripts. But don't try to automate the entire process from beginning to end. That will leave large enough for a bus through security holes.

    Create a hierarchy in the sense of

    1. a schema at a time
    a. purpose of subsidies - for tables, views, procedures, etc. to a role. Best is to use a separate role for each type of object
    2 grant the role of schema for users who need

    Build small pieces manageable and controllable. Then combine these pieces into a top-level component. Not just make a huge mess of subsidies.

  • Grant select any view privilege

    I want to grant a privilege to SELECT ANY VIEW user but not GRANT SELECT the ENTIRE TABLE. How can I make...

    Extract the query below and run it.

    Select ' grant select on ' | OWNER | '.' || view_name | « à » || ';' from dba_views;

  • I am on a trial with Acrobat Pro DC on a Mac and when I try to combine files for example a pdf file and a word doc it says "additional permissions to access to" the word doc, so I have to select a folder and grant access, etc.  It's too long - is the

    I am on a trial with Acrobat Pro DC on a Mac and when I try to combine files for example a pdf file and a word doc it says "additional permissions to access to" the word doc, so I have to select a folder and grant access, etc.  It's too long - is there a way to get around this?

    Hi Alex,

    This is not related to Acrobat, Microsoft, you can see this problem with Microsoft Word is known: grant access file: cannot open the document: user - Microsoft Community it is a sandbox application. It restricts user with several workflow.

    Unfortunately, there isn't much we can help at this stage.

    Kind regards

    Tariq Dar.

  • ADF Table and select one choice

    Hai everybody, please help.

    I have a page that contains the table and select a choice where the table record displays the current month and the choice of a select contain only months. When I select the month from the list, save the table will change based on the months that I have chosen. I have really no idea on how to perform this task.

    123.png

    With the help of jdev version 11.1.1.7.0

    Thanks for your help.

    El

    Try to follow the following:

    1 - in the ViewObject (to which redirect the table) define the bind variable, this variable binding will filter the query (for example variable binding name is selectedMonth).

    2 - from the page, select the selectOneChoice and of the Inspector properties set value change listener method in backbean and autoSubmit = true.

    
       .
       .
    
    

    Method of earphone 3 months value change will be:

      public void monthValueChangeListener(ValueChangeEvent valueChangeEvent)
      {
        BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
        DCIteratorBinding iter = (DCIteratorBinding) bindings.get("TableIteratorName");//you can get iterator name from pageDef.
        ViewObject vo = iter.getViewObject();
        vo.setNamedWhereClauseParam("selectedMonth", valueChangeEvent.getNewValue());
        vo.executeQuery();
      }
    

    3. set table by selectOneChoice id partialTrigger

    
        .
        .
        .
    
    
  • ORA-01789 - when you use the operator of TABLE and SEM_MATCH

    Client version: 11.1.0.7 on Windows 7 (32 bit)
    Server version: 11.2.0.3 on Windows 7 (64-bit)

    I am model prototyping a simple RDF, and I'm getting a ' ORA-01789: block has an incorrect number of columns in query results "when you use the SEM_MATCH with the SCOREBOARD operator.

    I can run this:
    select id, a.triple.GET_TRIPLE() from drik.rdf_data a
    and the first line is:
    (<http://www.ihc.com/drik/term#2>, <http://www.w3.org/2000/01/rdf-schema#subClassOf>, <http://www.ihc.com/drik/term#1>)
    Now, I want to use the TABLE like this:
    select
      c
    from 
      table(sem_match('{ <http://www.ihc.com/drik/term#2> <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?c . }', 
            sem_models('Prototype'),
            sem_rulebases('RDFS'),
            sem_aliases(sem_alias('rdfs','http://www.w3.org/2000/01/rdf-schema/')),
            null
            ))
    But this performance gives the ORA-07189. Even try SELECT * gives the same error.

    I expect to get a refund:
    <http://www.ihc.com/drik/term#1>
    How should I approach troubleshooting this?

    Thank you, Steve

    Thanks for posting the script. I was able to reproduce the error locally.

    The problem is the use of the sem_apis.create_rules_index () procedure, which has been deprecated:
    http://docs.Oracle.com/CD/E11882_01/AppDev.112/e25609/sdo_rdf_newfeat.htm#autoId26

    Please use sem_apis.create_entailment () instead, and the error should disappear.
    http://docs.Oracle.com/CD/E11882_01/AppDev.112/e25609/sem_apis_ref.htm#CHEHDGBD

    Thank you
    Matt

  • Grant select privilege on the table column

    Hello
    I think that it is not possible to give the right to select level of column in a table.

    by example-grant select (col1, col2) on table1 to User1;

    Can anyone suggest what might be the way to achieve (apart from creating a view on the table).

    Hi, Anit,

    Anit says:
    Hi Frank,.
    Thanks for the reply. Nothing bad to see.

    Then use a notice. It is simpler and more robust.

    As that I knew WHAT EVP is used for the column data hide with a null value or other values. do not hide the entire column of the selection operation. Please correct me if I'm wrong.

    Maksing the column with a null value or another value is hide the column.
    Do what you should always do whenever you have a question. Post some sample data (CREATE TABLE and INSERT statements) and the results desired from these data. In this case, after an authorized user (that is, a user with all privileges) must get results and results that a user with lesser forge privileges.

    A view (or a copy of the table, as a materialized view) is the only way I know to prevent users to know that there is a column (for example) called credit_card_num.
    Use row-level security, you can return NULL when users not allowed to reference credit_card_num, or you can trigger an error if they try to refer to this column.

  • Select text source DDL for tables and views

    I have a script which transforms ' select the text in dba_source where the owner not like '% SYS % ';

    but who does not receive tables, views, materialized views...
    How can I do the same thing for them...

    Hello

    You can use this code

    DECLARE
       res   VARCHAR2 (4000);
    BEGIN
       FOR rec_obj IN (SELECT owner, object_name, object_type
                         FROM all_objects
                        WHERE owner NOT LIKE '%SYS%'
                          AND object_type IN ('TABLE', 'VIEW'))-- you can add others type of objects
       LOOP
          BEGIN
             SELECT DBMS_METADATA.get_ddl (rec_obj.object_type,
                                           rec_obj.object_name,
                                           rec_obj.owner
                                          )
               INTO res
               FROM DUAL;
    
             DBMS_OUTPUT.put_line (res);
          EXCEPTION
             WHEN OTHERS
             THEN
                DBMS_OUTPUT.put_line (SQLCODE || ' - ' || SQLERRM);
          END;
       END LOOP;
    END;
    

Maybe you are looking for

  • A person of Apple told me to restore from factory settings

    I have problems with my ipod touch. A very nice lady from Apple called me and told me to save it on my computer, and then restore the factory settings. All my itunes purchases are still there, but my 800 songs from CDs, etc. have disappeared. She sai

  • Can't get bytes of CPU to read in LabVIEW * FTDI * Serial Communication *.

    I have trouble to get LabVIEW to display the bytes I send from a microcontroller with a FTDI chip. Specifications of communication are: baud-19200 -8-bit word length -1 stop bit -no parity -no flow control I modified the demo of the chain of read-wri

  • cannot change default Windows Media Player .wmv.

    Whenever I get an attachment to a .wmv file, it is always default to Nero Showtime Essentials.  I go to my default programs icon in the control panel and change to Windows Media Player.  It changes accordingly.  Next time I get another .wmv file, I h

  • Buying a laptop

    Hello I am considering the purchase of a Dell laptop and would like some advice about what to buy. I'll use it for navigation for most and a few games of light. I would also like to know whether or not be rehabilitated one that I am on a pretty tight

  • UCS M4 220 Port IOIO

    Hello What is the function of the network IOIO interface? Concerning Leonardo Santana