Rights on objects

what would be the sufficient tables to check for rights given to other users in the same database or different databases accessing our database through a link. I use 'all_col_privs' for privileges given on columns & 'user_tab_privs' for privileges on tables. Are these tables enough for checking rights on tables & objects or there needs to be other system tables for
accessing this kind of information. Please help in solving the doubt as it is urgent.

You can use all_col_privs and all_tab_privs to see table- and column-level privileges granted to all users in the database. You can use user_col_privs and user_tab_privs to see those privileges for the current user. I can't imagine a situation where you would want to mix the all_ and user_ tables.
You would probably want to take into account any roles the users have been granted, since roles can have object privileges assigned to them. Note that roles can also be nested, so you'd want to traverse the full hierarchy. Not sure if you want to account for default and non-default roles differently.
What about system privileges (i.e. SELECT ANY TABLE)?
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • Transaction for checking rights of objects in the web template

    Hello,
    I have the problem with some objects when I open the web template in the browser. I see yellow triangles and description "You haven't right for access to object MyObject". And so on. I don't know where can I check which rights I need for the template (like su53)?

    Ok. I had added rights for transactions SU53 and RSRT for debugging. Then go to RSRT and open your report. If you haven't got some grantes you can see it on a result screen and SU53. No other ways are exists (OSS 1070694). I hope it'll be useful for you.
    Good luck.
    Aleksandr.

  • CS3 Distribute problem (only moving right-most object).

    I am having a problem with the Distribute option using a set distance. In today's example, I have an image and a caption. The image is locked in place. If I place the caption to the right of the image, I can use the Distribute option to set the space between the objects at .25". If the caption is to the left of the image, the Distribute button does nothing. This is the case with all (20+) of the images and captions throughout this document, and at least one coworker in my office is seeing the same result. The other alignment buttons do work -- I can align the caption to any edge of the image that I want.
    If I unlock the image, the image will move to .25" spacing from the caption if it's to the right of the caption. (Not what I want.) I can come up with work-arounds to this, but I'd rather know if there's something I'm missing here.
    Thanks.

    I can't get the Distribute buttons on the Control Panel to work at all. Yet it works fine with the Align Panel.
    Sounds like bug - acts like a bug.
    I'm sure there's a twisted logic to the behaviour.

  • Setting Inheritable flag for attribute rights of object

    Hi,
    I want to set a user object A as the trustee of another object B. So i
    am modifying the acl of B. For that i used the function
    ldap_modify_ext_s and pass it LdapMod values. The mod_values member is
    set using the LDAP_DS_ATTR_READ and LDAP_DS_ATTR_INHERIT_CTL privilege.
    66#entry#cn=A,o=context#[All Attributes Rights].
    Here 66 means LDAP_DS_ATTR_READ and LDAP_DS_ATTR_INHERIT_CTL.
    But when i check in console one, the [All Attributes Rights] property
    is set to Read but the Inheritable flag checkbox in unchecked. What
    could be the reason. I want to set the inheritable flag and am not
    getting any way to do it.
    Any suggestions?
    Thanks,
    Rohit
    janmarohit
    janmarohit's Profile: http://forums.novell.com/member.php?userid=64727
    View this thread: http://forums.novell.com/showthread.php?t=398791

    I have similar code in C. I am able to change ACL. But its only the
    inheritable property that i am not able to acheive. I have read that
    using #subtree# instead of #entry# will do the inheritance part but its
    not working for me.
    Jim Willeke;1919668 Wrote:
    > I have not worked with the ACLs much from LDAP; but you might try
    > setting the values you want in iManager and then checking to see the
    > values in LDAP.
    >
    > This might help:
    > 'Sample Code for
    > var/ndk/webBuildengine/tmp/viewable_samples/f91a68eb-ad37-4526-92b1-b1938f37b871/ModifyACL.java'
    > (http://developer.novell.com/document...yACL.java.html)
    >
    > -jim
    >
    > On 1/20/2010 6:26 AM, janmarohit wrote:
    > >
    > > Hi,
    > >
    > > I want to set a user object A as the trustee of another object B. So
    > i
    > > am modifying the acl of B. For that i used the function
    > > ldap_modify_ext_s and pass it LdapMod values. The mod_values member
    > is
    > > set using the LDAP_DS_ATTR_READ and LDAP_DS_ATTR_INHERIT_CTL
    > privilege.
    > >
    > >
    > > 66#entry#cn=A,o=context#[All Attributes Rights].
    > > Here 66 means LDAP_DS_ATTR_READ and LDAP_DS_ATTR_INHERIT_CTL.
    > >
    > > But when i check in console one, the [All Attributes Rights]
    > property
    > > is set to Read but the Inheritable flag checkbox in unchecked. What
    > > could be the reason. I want to set the inheritable flag and am not
    > > getting any way to do it.
    > > Any suggestions?
    > >
    > > Thanks,
    > > Rohit
    > >
    > >
    janmarohit
    janmarohit's Profile: http://forums.novell.com/member.php?userid=64727
    View this thread: http://forums.novell.com/showthread.php?t=398791

  • Rights on objects accessed through DB link

    I have a doubt that can a schema of a database access the objects of a schema in a different database using a DB link only or do we need to give right of the object first, if it is so, how to give the right.
    I will illustrate with a eg., say we have 2 databases, DB1 & DB2 and there are 2 schemas, SCH1 in DB1 & SCH2 in DB2, i have a link DB1_to_DB2. The grant from DB1 will be as normal
    grant all on SCH1 to SCH2
    or
    grant all on SCH1 to SCH2@DB1_to_DB2.
    I hope, my question is clear. Please help in solving the doubt.
    Regards.

    Hi,
    When you are connecting through a DB Link, the objects from the target schema are accessed with the rights of the user you defined when you create the DB link.
    Following your example, if the DB1_to_DB2 link is from DB1 to DB2 database and when you created the DB Link you specified SCH2 as user name for connection, the objects from SCH2 will be accessed with the rights of SCH2, you do not need to grant access to SCH1 on SCH2 objects if your link is from DB1 to DB2.
    Regards,
    Constantin

  • In Keynote '09 distribute objects horizontally/vertically is distributing objects beyond the slide. How do I make the left-most and right-most objects the limit of the distribution?

    I used to have the option of distributing objects so that they would overlap, but the current "distribute" tool is functioning as if overlapping isn't allowed. The result is that the objects move beyond the limits of the slide. Any suggestions?

    I know that's what *should* happen, but it just doesn't. I've made screen-grabs of the entire process:
    Like I said, this use to work just as you've described it. Is there a box I accidentally selected? I just really don't understand why the tool has changed the way it functions...

  • How To Retrieve an Object's Value Defined Using c:set ... Tag?

    I have the value of a variable defined in JSP#1 (JSP#1 is not a form) using JSTL tag:
       <c:set var="id" value="${articleForm.article}" scope="session"/>Now, I have an object 'id' in the session scope. The object 'id' and all the information, which are defined in JSP#1, are forwarded to JSP#2.
    JSP#2 is a form. But, the 'id' is not used in JSP#2.
    JSP#2 has a submit button and then, a servlet takes over the control after that button is clicked. All the text fields in JSP#2 together with the object 'id' are forwarded to this servlet.
    I have two questions:
    1. I should put this object 'id' in a request scope or a session scope? Currently, it is in a session scope.
    2. How to retrieve the value of this object 'id' in this servlet? (I do not want to print the value out. I want to retrieve the value and store it in a database.)
        int articleID = Integer.parseInt( session.getAttribute( "id" ) );   or, it should be retrieved in another way?

    I'm not sure you understand the concept of a session object.
    Java objects stay on the server. There is no transmission between the web browser and the client.
    The scope just sets how long the server "remembers" that variable.
    request scope - only lasts one request. Once a web page is returned to the client, the server forgets all request variables.
    session scope - lasts for one user - across multiple requests/web pages.
    1. I should put this object 'id' in a request scope or a session scope? Currently, it is in a session scope.From your description, you appear to have it right - your object should be in session scope.
    2. How to retrieve the value of this object 'id' in this servlet? (I do not want to print the value out. I want to retrieve the value and store it in a database.)If articleForm.article is an String then that looks the right way to access it.
    You might have to do it like this:
    int articleID = Integer.parseInt( (String)session.getAttribute("id"));
    The Integer.parseInt method takes a String as a parameter - while session.getAttribute() returns an Object.
    This code will work if the object stored in the session is a String.
    The object stored in the session is ${articleForm.article} What type does articletForm.getArticle() return? That is the type you need to cast it to when retrieving it from the session.
    Cheers,
    evnafets

  • How-to move objects (users) from one ou to another using Powershell and an XLSX

    Hi all,
    I have a spreadsheet that has headers. I need to move all of the objects on this exception report to the proper OU (all going to the same OU).
    The header that validates the need to move is called "Display Name".
    The process now is as follows.
    1) Copy displayname
    2) Open AD search
    3) enter display name in find box
    4) locate object
    5) right click object in results and click move.
    6) move to the OU "Home.test.com/uk Online/Users OU/Business Process"
    --- How can i use Import-CSV to automate this process?
    Thanks for any help, there is about 4K lines on this sheet and it normally takes about 25 days of "busy work" to accomplish this, then 5 days later I have to re-run the report and start over.
    Josh
    Josh Borges

    Hi Josh,
    This assumes that you can save your file as an actual CSV file:
    $skippedUsers = @()
    Import-Csv .\userList.csv | ForEach {
    $displayName = $_."Display Name"
    $user = Get-ADUser -Filter "DisplayName -eq '$displayName'" -Properties DisplayName
    If ($user.Count) {
    $skippedUsers += $displayName
    Else {
    $user | Move-ADObject -TargetPath 'OU=Business Process,OU=Users OU,OU=uk Online,DC=home,DC=test,DC=com' -WhatIf
    If ($skippedUsers) { Write-Host 'The following users could not be moved automatically:' -ForegroundColor Red ; $skippedUsers }
    Do you have to use the display name property? That's not guaranteed to be unique, so you might run into problems. The script above will not attempt to move the user if more than one is returned by the command.
    EDIT: I've also added -WhatIf to Move-ADObject. Now the command won't actually move your users, it will just tell you about it. Remove it if you're happy with the output.
    Don't retire TechNet! -
    (Don't give up yet - 12,420+ strong and growing)

  • Archiving object in ECC

    hi gurus,
    need some procedure help in identifying archiving object in ECC system.
    i would like to what exactly do we look in TAANA and DB15 ,after sorting the largest and fast growing DB tables .
    TAANA basically shows the records and table entries. DB15 shows the relation between the table and archiving object.
    i need some inputs in identifying the right archiving object using these tools. I went through standard guides but I'm not getting a clarity.
    please assist

    Hello,
    For identifying the archiving object for respectable you can use DB15 transaction. Note that you should have some idea in archiving area so that is will be easier to conclude on archiving object.
    Your understanding on display of archived data is wrong.
    Archive data are stored in archive file non-readable format, while display SAP convert the data into readable format to user.
    This will not reload the data into tables while reading the archive data.
    Archive information system is very well build, it is easy to handle with business requirement on views & managing archive index table, so i would suggest to make use of archive information system to display from archive.
    Hope it will give some lights on display of archived data.
    -Thanks,
    Ajay

  • Problem in moving Rotated Shape object

    Hi All,
    I want to move the rotated shape object based on the mouse movement
    m able to move the object which is not rotated, but m facing the problem when i move the rotated object its moving position is not correct . I am expecting to maintain both shape objects movement is same, i mean if i did mouse movement to right rotated object moves upwards and normal object moves towards right insted of moving both r moving towards to right.
    Pls help me
    the following code is m using to moving the object
    The one which in red color is not rotated and the one which is in black color has rotated.
    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.RenderingHints;
    import java.awt.Shape;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import java.awt.event.MouseMotionListener;
    import java.awt.geom.AffineTransform;
    import java.awt.geom.Point2D;
    import java.awt.geom.Rectangle2D;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import com.clinapps.LDPConstants;
    public class MoveRotatedObj extends JFrame
         public MoveRotatedObj()
              JPanel pane = new Dorairaj();
              add(pane);
         public static void main(String[] args)
              MoveRotatedObj f = new MoveRotatedObj();
              f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              f.setSize(400, 400);
              f.setLocation(200, 200);
              f.setVisible(true);
         static class Dorairaj extends JPanel
              implements
                   MouseListener,
                   MouseMotionListener
              Shape o = null;
              Rectangle2D rect = new Rectangle2D.Double(
                   10, 10, 100, 100);
              Graphics2D g2 = null;
              boolean flag = true;
              int x=10,y=10,x1, y1, x2, y2;
              AffineTransform af = new AffineTransform();
              AffineTransform originalAt = new AffineTransform();
              int origin = 0;
              public Dorairaj()
                   addMouseListener(this);
                   addMouseMotionListener(this);
              protected void paintComponent(Graphics g)
                   super.paintComponent(g);
                   g2 = (Graphics2D) g;
                   g2.draw(new Rectangle2D.Double(0,0,500,500));
                   g2.translate(origin, origin);
                   g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                        RenderingHints.VALUE_ANTIALIAS_ON);
                   rect = new Rectangle2D.Double(
                        x, y, 150, 100);
                   g2.setColor(Color.RED);
                   g2.draw(rect);
                   g2.setColor(Color.black);
                   originalAt = g2.getTransform();
                   g2.rotate(Math.toRadians(270), 200, 200);               
                   g2.draw(rect);
                   g2.setTransform(originalAt);
              * Invoked when a mouse button has been pressed on a component.
              public void mousePressed(MouseEvent e)
                   e.translatePoint(-origin, -origin);
                   x1 = e.getX();
                   y1 = e.getY();
              public void mouseDragged(MouseEvent e)
                   x2 = e.getX();
                   y2 = e.getY();
                   x = x + x2 - x1;
                   y = y + y2 - y1;
                   x1 = x2;
                   y1 = y2;
                   repaint();
              public void mouseMoved(MouseEvent e)
              * Invoked when the mouse button has been clicked (pressed and released)
              * on a component.
              public void mouseClicked(MouseEvent e)
                   repaint();
              * Invoked when a mouse button has been released on a component.
              public void mouseReleased(MouseEvent e)
              * Invoked when the mouse enters a component.
              public void mouseEntered(MouseEvent e)
              * Invoked when the mouse exits a component.
              public void mouseExited(MouseEvent e)
    Edited by: DoraiRaj on Sep 16, 2009 12:51 PM
    Edited by: DoraiRaj on Sep 16, 2009 1:00 PM
    Edited by: DoraiRaj on Sep 16, 2009 1:07 PM

    Thanks for replay and suggestion morgalr,
    I mean MoveRotatedObj1 is MoveRotatedObj only jsut m maintaing a copy on my system like MoveRotatedObj1.
    finally i solved my problem like this ,
    Is this correct approach m followinig or not pls let me know .
    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.RenderingHints;
    import java.awt.Shape;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import java.awt.event.MouseMotionListener;
    import java.awt.geom.AffineTransform;
    import java.awt.geom.Point2D;
    import java.awt.geom.Rectangle2D;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import com.clinapps.LDPConstants;
    public class MoveRotatedObj extends JFrame
    public MoveRotatedObj()
      JPanel pane = new Dorairaj();
      add(pane);
    public static void main(String[] args)
      MoveRotatedObj f = new MoveRotatedObj();
      f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      f.setSize(400, 400);
      f.setLocation(200, 200);
      f.setVisible(true);
    static class Dorairaj extends JPanel
      implements
       MouseListener,
       MouseMotionListener
      Shape o = null;
      Rectangle2D rect = new Rectangle2D.Double(
       10, 10, 100, 100);
      Rectangle2D rect1 = new Rectangle2D.Double(
       10, 10, 100, 100);
      Graphics2D g2 = null;
      boolean flag = true;
      double lx, ly;
      int x = 10, y = 10, x1, y1, x2, y2;
      int l = 20, m = 20;
      int angle = 270;
      AffineTransform af = new AffineTransform();
      AffineTransform originalAt = new AffineTransform();
      int origin = 0;
      public Dorairaj()
       addMouseListener(this);
       addMouseMotionListener(this);
      protected void paintComponent(Graphics g)
       super.paintComponent(g);
       g2 = (Graphics2D) g;
       g2.draw(new Rectangle2D.Double(
        0, 0, 500, 500));
       g2.translate(origin, origin);
       g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
        RenderingHints.VALUE_ANTIALIAS_ON);
       rect = new Rectangle2D.Double(
        x, y, 150, 100);
       g2.setColor(Color.RED);
       g2.draw(rect);
       rect1 = new Rectangle2D.Double(
        l, m, 150, 100);
       g2.setColor(Color.black);
       originalAt = g2.getTransform();
       g2.rotate(Math.toRadians(angle), 200, 200);
       g2.draw(rect1);
       g2.setTransform(originalAt);
      public void mousePressed(MouseEvent e)
       e.translatePoint(-origin, -origin);
       x1 = e.getX();
       y1 = e.getY();
      public void mouseDragged(MouseEvent e)
       boolean left, right, up, bottm;
       int dx, dy;
       left = right = up = bottm = false;
       x2 = e.getX();
       y2 = e.getY();
       dx = x2 - x1;
       dy = y2 - y1;
       x = x + dx;
       y = y + dy;
       up = dy < 0;
       bottm = dy > 0;
       left = dx < 0;
       right = dx > 0;
       if (left || right)
        // b += dx;
        m += dx;
       if (up || bottm)
        // a -= dy;
        l -= dy;
       x1 = x2;
       y1 = y2;
       repaint();
      public void mouseMoved(MouseEvent e)
      public void mouseClicked(MouseEvent e)
       repaint();
      public void mouseReleased(MouseEvent e)
      public void mouseEntered(MouseEvent e)
      public void mouseExited(MouseEvent e)
    }

  • Right click not working in CS6...

    I can't right click objects on the artboard in Illustrator CS6.
    For example if I want to break the link to an object I can't.
    I use a Wacom tablet and suspected that there is a problem with the pen.
    But the same thing happens if I use the trackpad on my MacBook.
    Has anyone one else experienced this?
    If so how did you fix it short of a reinstall?

    badlymade,
    You may try some of these (you have probably been through 1) and 2) already), especially 4) and 5) (especially Item 7):
    1) Close down Illy and open again;
    2) Restart the computer;
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (irreversible);
    4) Move the folder with Illy closed (reversible);
    5) Look through and try out the relevant among the Other options;
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool, and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • Help on archiving object - table AUFK

    hi,
    for table AUFK i would like to perform a test archiving scenario. currently i'm at the identifying the archiving object stage.
    From TAANA i was able to see the data distribution across the order categories and its entries as below
    Order category    entries
    1                           1.844.505
    20                           88.642
    30                         80.473
      10                       14.558
    3                          1
    DB15 has following archiving objects
    CO_ORDER
    PM_ORDER
    PP_ORDER
    PR_ORDER
    PS_PROJECT
    Can you please help me out find out the right archiving object in these, I'm at SE16 but not getting a clue to find out how the order category is linked to this object.
    Please suggest.

    thanks

  • Even spacing of objects? (justification)

    CS4
    Given 4 objects of the same size/shape aligned on one row. The left object is aligned to where is is suppose to be on the left and the right object is aligned to where it is suppose to be on its right edge.
    Now, how do I evenly space the other two objects between the left and right most objects?  None of the distribution choices seem to do what I need.
    TIA.

    In AI 12 (CS2), the Auto option in the dropdown field under Align palette | Distribute Spacing does what you want. I apologize if this works differently in AI 14 (CS4).

  • Export Custom Object search results

    I've selected my search criteria in one of my customer objects. The result is a set of records containing specific data items that I need. This data is not available in the contact record. I need to export just this set of records and not my entire Customer Object universe. Is that functionality available? Any help is appreciated.

    Method 1:
    Custom object > Reporting (drop-down from the top-right) > Custom Object Record Field Values (or percentages)
    Select your field, click "Select"
    Click into any field values that interest you
    Observe an exportable list of records
    (Limitation = cannot use wildcards)
    Method 2:
    Insight. This requires the analyzer license. Custom Object Record values are not subject to the normal 24 hour delay that almost all other data is. At most there is a ~30 second delay between CDOs and Insight.
    Ensure that the Custom Object Record and the fields from it you want are available in Insight. You want to include your unique field because the values are deduplicated in Insight otherwise. Build a report that includes the unique field and the field your value of interest is in. Filter on the column of interest and run the report. Export as desired.
    Method 3:
    API. From any open Eloqua window where you've already logged in, go to this URL: https://secure.eloqua.com/api/docs/dynamic/rest/1.0/reference.aspx
    (This is not for the tame and feint of heart.)
    More help here: Code It
    Specifically here: Building On The Eloqua Platform - A Resource Guide
    And here: Eloqua REST API - Create and Manage Custom Objects
    -Alexander Huzar

  • Error when I try to send document to Business Objects Inbox in Infoview

    I am testing XI 3.1 and when I select a Webi document then click on the option to send a document to a Business Objects Inbox, I get the following error:
    An Error has occurred: Unspecified error.
    Any ideas?

    Hi Paula,
    Following solutions might help you to resolve the issue.
    Following are the rights you need to apply so that the particular set of users can
    send the document to other useru2019s inbox.
    1. Send the Document to Inbox
    Any files stored in the CMS, even the agnostic ones, can be sent to a useru2019s Inbox.
    The file is sent as is, without any refresh in the case of Web Intelligence or Desktop
    Intelligence file.
    To send a document to a useru2019s Inbox, the following rights must be granted:
    u2022 Send document right for Info View application, if the document is sent from Info View
    u2022 Add objects to Folder and View objects rights for the destination Inbox folder
    2. Add a User or A Group to another Group.
    To add a user or a group into a destination group, the following rights must be granted:
    u2022 View objects, Edit objects rights for the destination group
    u2022View objects, Edit objects rights for the source user or group
    u2022Schedule to destinations right should also be granted to the particular group to which
    the user belongs, and download files associated with the object.
    Default users (non-administrative users) should have rights to add objects to other
    useru2019s inbox.
    1. Login to CMC.
    2. In CMC, Home - Inboxes - Rights - Everyone - Advanced - "Explicitly Grant" the
    right 'Add Objects to the folder' and 'View Objects' rights.
    3. In CMC, Home - Groups - Rights - Everyone - Advanced - "Explicitly Grant" the
    right 'Add Objects to the folder' and 'View Objects' rights.
    4. In CMC, Home - Categories - Rights - Everyone - Advanced - "Explicitly Grant" the
    right 'Add Objects to the folder' and 'View Objects' rights.
    Regards,
    Sarbhjeet Kaur

Maybe you are looking for

  • Page format for SAP-Script not working in 4.6C

    Hi all, I have a problem regarding check printing. I am using SAP version 4.6C The size of paper for check printing is           width  = 231 mm           Height = 304 mm So for this I have created a new page format with these details in SPAD. Then I

  • Kindle Fire won't mount on iMac 27"  with Mountain Lion

    I purchased a kindle fire and I am trying to connect the Kindle Fire to iMac using the USB port.  I connect to the USB.  I have tried having the kindle fire powered down and then plug the unit to the USB.  The Kindle Fire automatically opens up and I

  • MacBook won't take an IP

    Lost my connection through my provider briefly and now my laptop won't find or accept an IP address

  • Macbook Pro Retina Windows Graphic quality lost

    I've had windows in installed on my Macbook Retina ever since I first got it just for running games. I was getting decent fps in Just Cause 2, Battlefield 3 and Skyrim running on high settings at 1920 x 1800 resolutions (30-50 fps) just a few days ag

  • Is there any information about the SPU of OpenSPARCT1 or T2?

    hello, I am a student working on the OpenSPARC, in the SPARC core, there is a SPU(stream processing unit) on it. However, there is little information about that unit. I am wondering whether I could have some information or references or websites abou