Person with deactivated profile cannot be proxy

6 views
Skip to first unread message

Moisey Gruzman

unread,
Jul 17, 2022, 1:15:55 AM7/17/22
to ProfilesRNS
We have case when person asking to disable his profile could not manage other profiles in his group because his person and user accounts marked not active.
This is a snap from procedure [Profile.Import].[LoadProfilesData] 

            -- Apply person active changes to user table
            UPDATE u
               SET isactive  = p.isactive
              FROM [User.Account].[User] u
              JOIN [Profile.Data].Person p ON p.PersonID = u.PersonID
--- added to fix this issue  
                            and not exists
                (select internalusername from [Profile.Import].[User]
                    where internalusername=p.InternalUsername)

Brown, Nicholas William

unread,
Jul 18, 2022, 1:04:39 PM7/18/22
to profi...@googlegroups.com

Thanks Moisey, I checked that fix into github.

 

Nick

--
You received this message because you are subscribed to the Google Groups "ProfilesRNS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to profilesrns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/profilesrns/5555c75d-f1e4-44f7-b857-e028a4b82b30n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages