<?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>topic Re: Automatic role assignment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337359#M1539007</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; missing default roles &lt;/P&gt;&lt;P&gt;If the default role(s) exist in all systems and are the same, then you can also consider encapsulating the role(s) into one reference user (not to be mistaken for a template user) and assign this reference user at the time of creation already. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user BAPI for creating (or changing) users offers the option of adding &lt;STRONG&gt;one&lt;/STRONG&gt; reference user for additional authorizations at the time of creation already. You can avoid the problem with locks on roles this way and the BAPI takes care of all the LUW aspects in the same commit at the end ( at the latest.. ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional advantage is that with huge numbers of users, you have a performance gain in that the user buffer is only loaded once for the reference user and available to all others it is assigned to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Downside is that you can only have one reference user assigned at one ponit in time - but this is probably a good thing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMO a "common role" for all users only makes sense if you ensure that the role is truely "watertight" and the same objects (which &lt;STRONG&gt;will&lt;/STRONG&gt; by proposed by other transactions!) are not making it obsolete anyway. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you add too much access to this common role it will make you lazy when building other roles; you should be carefull of this when expecting those roles to work correctly or wonder when restrictions to them don't work, because it is very difficult to restrict a role assigned to all users with a diversity of other roles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Oct 2010 20:44:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-08T20:44:00Z</dc:date>
    <item>
      <title>Automatic role assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337353#M1539001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Security experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in our organization there are some default roles which need to be assigned to all and every user created in our SAP systems. Currently our servicedesk does it manually but like every manual process someone sometime misses it and then it becomes a pain. is there a way to automatically assign some roles to any user which gets created in the system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i know a complicated way is to do some kind of development where when the program for user creation gets triggered, we can insert a code to assign the default roles. Want to find out if there is a simpler process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yogesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 02:35:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337353#M1539001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-08T02:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic role assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337354#M1539002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yogesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create an reference user assign the default role and other values (e.g. parameter setting, company address etc.) You can use ref user to copy user all time. (by the way ref user can use used in different way not for copy users) I suggest you this since ref user is not included require any license fee. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 02:57:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337354#M1539002</guid>
      <dc:creator>former_member195397</dc:creator>
      <dc:date>2010-10-08T02:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic role assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337355#M1539003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yogish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a undocumented user exit, which is reached before saving a user in SU01.&lt;/P&gt;&lt;P&gt;In this exit you could call the BAPI_USER_ACTGROUPS_ASSIGN  to assign the required roles(I suggest to trigger that assignement in batch then, to avoid lock situations).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;callstack of the exit:&lt;/P&gt;&lt;P&gt;  6	SAPLPRGN_EXIT_EXAMPLES	FUNCTION	PRGN_EXIT_USERS_TRANSFER &amp;lt;&amp;lt;&amp;lt;thats the exit&lt;/P&gt;&lt;P&gt;  5	SAPLPRGN_EXCHANGE	FUNCTION	PRGN_USER_ASSIGNMENT_CHANGE&lt;/P&gt;&lt;P&gt;  4	SAPLSUU4	FUNCTION	SUSR_USER_AGR_BUFFER_TO_DB&lt;/P&gt;&lt;P&gt;  3	SAPLSUU0	FORM	SAVE&lt;/P&gt;&lt;P&gt;  2	SAPLSUU0	FUNCTION	SUSR_USER_MAINT_WITH_DIALOG&lt;/P&gt;&lt;P&gt;  1	SAPMSUU0	EVENT	START-OF-SELECTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To activate the exit you need to create an entry in table ssm_cust:&lt;/P&gt;&lt;P&gt; (SSM_CUST-ID)     |               (SSM_CUST-PATH)    &lt;/P&gt;&lt;P&gt;Z_USERS_TRANSFER   |        PRGN_EXIT_USERS_TRANSFER        (=example FM from SAP; you can enter any FM you like here to be triggered, for instance your Z-FM to trigger the a.m. bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exit is reached about at line 485 of PRGN_USER_ASSIGNMENT_CHANGE. If you have a look at the coding there, the implementation will be logical for you.... &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b.rgds, Bernhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 06:08:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337355#M1539003</guid>
      <dc:creator>Bernhard_SAP</dc:creator>
      <dc:date>2010-10-08T06:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic role assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337356#M1539004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I really like Bernhard's recommendation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An option I have often seen is changing the user creation process to make the service desk copy a template user that is already assigned the roles.  They then update as required.  If they follow the process, they will never miss allocating those other roles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 09:50:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337356#M1539004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-08T09:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic role assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337357#M1539005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 16:34:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337357#M1539005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-08T16:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic role assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337358#M1539006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot for your inputs. Bernhard's recommendation seems to be very useful and i will try that. Adding to what we have here is that we have almost 8 Abap stack applications in our environment and we use CUA for user management. So using a template user etc may not be feasible. We are looking for a solution where role assignment automatically happens for any user created whatever way it is created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i will see how we can fit Bernhard's recommendation in our setup. Another way i was thinking was to run a background job which check for missing default roles and assigns them. But this may be a security challenge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yogesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 18:52:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337358#M1539006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-08T18:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic role assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337359#M1539007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; missing default roles &lt;/P&gt;&lt;P&gt;If the default role(s) exist in all systems and are the same, then you can also consider encapsulating the role(s) into one reference user (not to be mistaken for a template user) and assign this reference user at the time of creation already. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user BAPI for creating (or changing) users offers the option of adding &lt;STRONG&gt;one&lt;/STRONG&gt; reference user for additional authorizations at the time of creation already. You can avoid the problem with locks on roles this way and the BAPI takes care of all the LUW aspects in the same commit at the end ( at the latest.. ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional advantage is that with huge numbers of users, you have a performance gain in that the user buffer is only loaded once for the reference user and available to all others it is assigned to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Downside is that you can only have one reference user assigned at one ponit in time - but this is probably a good thing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMO a "common role" for all users only makes sense if you ensure that the role is truely "watertight" and the same objects (which &lt;STRONG&gt;will&lt;/STRONG&gt; by proposed by other transactions!) are not making it obsolete anyway. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you add too much access to this common role it will make you lazy when building other roles; you should be carefull of this when expecting those roles to work correctly or wonder when restrictions to them don't work, because it is very difficult to restrict a role assigned to all users with a diversity of other roles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 20:44:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337359#M1539007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-08T20:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic role assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337360#M1539008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have your HR org model setup with all users being linked to a position, you could try assigning the default role on top of the org via PO10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Oct 2010 00:14:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337360#M1539008</guid>
      <dc:creator>former_member80629</dc:creator>
      <dc:date>2010-10-09T00:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic role assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337361#M1539009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt; ....... and we use CUA for user management.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case, you can trigger a workflow or batchjob for that additional assignement(s) in the central system, as if CUA is active, an event is triggered upon saving the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b.rgds, Bernhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Oct 2010 05:50:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337361#M1539009</guid>
      <dc:creator>Bernhard_SAP</dc:creator>
      <dc:date>2010-10-11T05:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic role assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337362#M1539010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julius,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried your recommendation. Here is what I did:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Created a user called REFUSER (as a reference user) with the common role, which should be assigned to all the users.&lt;/P&gt;&lt;P&gt;2. Checked the BAPI - BAPI_USER_ACTGROUPS_ASSIGN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, I didn't find any option to include a Activity Group. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide a more step by step approach to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Oct 2010 14:34:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337362#M1539010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-11T14:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic role assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337363#M1539011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is initially a &lt;STRONG&gt;change&lt;/STRONG&gt; to the user's master record with only an indirect assignment to the roles (aka activity groups). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, what you are looking for is BAPI_USER_CHANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will then subsequently make the same checks as assigning the roles and profiles directly, but doesn't actually do it. This must already have been done to the REFUSER itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that you can only assign one reference user at one ponit in time, and cannot cascade the reference users for referenence users. So, there is no "enabler" user option, incase that was going to be your next question &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers and nice to see you back again,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Oct 2010 15:22:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337363#M1539011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-11T15:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic role assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337364#M1539012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can assign the reference user (with the common role assignments) when you are using BAPI_USER_CREATE1 or BAPI_USER_CHANGE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Oct 2010 15:22:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337364#M1539012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-11T15:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic role assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337365#M1539013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry if I'm picking up a slightly old thread here, I've used reference users during mass swap of roles to users in end markets which worked fine but I did get some worrying emails from the users saying purchase order and sales order prints had defaulted to the reference user ID during the removal/assignment period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this was something that had been caused by system config - not sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do like the option of using this REF user (the performance issue mentioned is a real plus which I hadn't thought about) but would a REFUSER name on a document sent/emailed to a customer or vendor be an issue? edit - presumption being printing is in the common role - edit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the postings do really show the real dialog user in SAP but just from a purchasing/sales point of view I wondered about this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: David Berry on Oct 16, 2010 3:40 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Oct 2010 14:40:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337365#M1539013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-16T14:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic role assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337366#M1539014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is illogical but still possible if the developer tried to determine the intended user's authority from a workflow or batch processing unit of work via the check FOR USER abc, which already had a refetence user xyz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means you can cascade the reference user authorizations one user further but not all three at the same time. If the program found the refuser to be authorized and returned that user's name back to the program then I would class it as a programming error to overwrite the name of the user being checked against by that of their own authorizations (which is what a reference user is).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which tcode did this happen in?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Oct 2010 16:25:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337366#M1539014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-16T16:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic role assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337367#M1539015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julius&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This came for VA01 and VL01N but that's as much as I could gather from them unfortunately (end users and manager's frantic emails were all I had to work from) before I deleted the REF user link in SU01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would still use it for mass maintenance of role assignments - better than no access at all if they are being LSMW'd but it may be that the printing issue in a base role doesn't matter if at these tcode levels and not SP02?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Oct 2010 19:34:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337367#M1539015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-16T19:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic role assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337368#M1539016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm... I have seen this sort of thing in background processing and RFC (for example, see [SAP Note 999004 - user switches in RFC debugging|https://service.sap.com/sap/support/notes/999004] and [User switch in inbound LUW|https://service.sap.com/sap/support/notes/926261] for some infos) but this is a programming error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In custom code I have once seen a construct where instead of checking the authority of a user to perform a task, the program determined the user's authority to automatically perform tasks they were authorized for. The refuser wasn't considered initially.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another possibility is that the refuser had sufficient auths to initiate LUW's for the dialog user in their own context, but these were not sufficient to complete them. When you removed the refuser, the FOR USER auth check failed and the task was handed back to the background processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes, less is more... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are nice examples (albeit complicated ones) why maintaining SU24 is at best a developer task (it also makes S_DEVELOP authority-checks...) and building roles should ideally be done together with the developer or good documentation to rely on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the time of creating programs, the developer knows most about how it works and what it restricts. This also means that security folks can influence the coding and simplify the concept (for example to use existing authorizations with the same semantics already in place for the users).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Oct 2010 20:22:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337368#M1539016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-16T20:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic role assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337369#M1539017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@ Yogesh: Are you still with us?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on your subsequent post &lt;SPAN __jive_macro_name="message" id="9633356"&gt;&lt;/SPAN&gt; I suspect that David and myself are on the right track here with our discussion, and not wandering off from the original topic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Oct 2010 20:34:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-role-assignment/m-p/7337369#M1539017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-16T20:34:52Z</dc:date>
    </item>
  </channel>
</rss>

