<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Qlik Replicate: Extract all Oracle source endpoint permissions for a specific userId in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Extract-all-Oracle-source-endpoint-permissions/ta-p/2001947</link>
    <description>&lt;P&gt;This article has been created to assist Qlik Replicate customers identify any permissions missing for the purpose of the replication. As it stands now, extracting all of the permissions for a specific user may become a somewhat tedious task. To help extract all of the permissions for a specific userID please execute the query below. Please substitute the &amp;lt;userId&amp;gt; placeholder with the actual User Id connecting to the database from the replicate server:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;select a.*
   from (select 'ROLE' typ,
                grantee grantee,
                granted_role priv,
                admin_option ad,
                '--' tabnm,
                '--' colnm,
                '--' owner,
                r.password_required pwd
           from dba_role_privs rp join dba_roles r on rp.granted_role = r.role
         union
         select 'SYSTEM' typ,
                grantee grantee,
                privilege priv,
                admin_option ad,
                '--' tabnm,
                '--' colnm,
                '--' owner,
                '--' pwd
           from dba_sys_privs
         union
         select 'TABLE' typ,
                grantee grantee,
                privilege priv,
                grantable ad,
                table_name tabnm,
                '--' colnm,
                owner owner,
                '--' pwd
           from dba_tab_privs
         union
         select 'COLUMN' typ,
                grantee grantee,
                privilege priv,
                grantable ad,
                table_name tabnm,
                column_name colnm,
                owner owner,
                '--' pwd
           from dba_col_privs) a
where a.grantee = '&amp;lt;UserId&amp;gt;'
order by case
           when a.typ = 'ROLE' then 4
           when a.typ = 'SYSTEM' then 1
           when a.typ = 'TABLE' then 2
           when a.typ = 'COLUMN' then 3
           else 5
        end,
        case when a.priv in ('EXECUTE') then 1 when a.priv in ('SELECT', 'UPDATE', 'INSERT', 'DELETE') then 3 else 2 end,
        a.tabnm,
        a.colnm,
        a.priv;
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Oracle source Endpoint&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Nov 2022 09:03:25 GMT</pubDate>
    <dc:creator>dima_etkin</dc:creator>
    <dc:date>2022-11-09T09:03:25Z</dc:date>
    <item>
      <title>Qlik Replicate: Extract all Oracle source endpoint permissions for a specific userId</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Extract-all-Oracle-source-endpoint-permissions/ta-p/2001947</link>
      <description>&lt;P&gt;This article has been created to assist Qlik Replicate customers identify any permissions missing for the purpose of the replication. As it stands now, extracting all of the permissions for a specific user may become a somewhat tedious task. To help extract all of the permissions for a specific userID please execute the query below. Please substitute the &amp;lt;userId&amp;gt; placeholder with the actual User Id connecting to the database from the replicate server:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;select a.*
   from (select 'ROLE' typ,
                grantee grantee,
                granted_role priv,
                admin_option ad,
                '--' tabnm,
                '--' colnm,
                '--' owner,
                r.password_required pwd
           from dba_role_privs rp join dba_roles r on rp.granted_role = r.role
         union
         select 'SYSTEM' typ,
                grantee grantee,
                privilege priv,
                admin_option ad,
                '--' tabnm,
                '--' colnm,
                '--' owner,
                '--' pwd
           from dba_sys_privs
         union
         select 'TABLE' typ,
                grantee grantee,
                privilege priv,
                grantable ad,
                table_name tabnm,
                '--' colnm,
                owner owner,
                '--' pwd
           from dba_tab_privs
         union
         select 'COLUMN' typ,
                grantee grantee,
                privilege priv,
                grantable ad,
                table_name tabnm,
                column_name colnm,
                owner owner,
                '--' pwd
           from dba_col_privs) a
where a.grantee = '&amp;lt;UserId&amp;gt;'
order by case
           when a.typ = 'ROLE' then 4
           when a.typ = 'SYSTEM' then 1
           when a.typ = 'TABLE' then 2
           when a.typ = 'COLUMN' then 3
           else 5
        end,
        case when a.priv in ('EXECUTE') then 1 when a.priv in ('SELECT', 'UPDATE', 'INSERT', 'DELETE') then 3 else 2 end,
        a.tabnm,
        a.colnm,
        a.priv;
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Oracle source Endpoint&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 09:03:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Extract-all-Oracle-source-endpoint-permissions/ta-p/2001947</guid>
      <dc:creator>dima_etkin</dc:creator>
      <dc:date>2022-11-09T09:03:25Z</dc:date>
    </item>
  </channel>
</rss>

