Security permissions

This forum is for programmers who have questions about the source code.
Post Reply
User avatar
wjstarck
Posts: 935
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Security permissions

Post by wjstarck » Wed Nov 07, 2018 2:01 pm

Are security permissions now read/written from/to usergroupattach or userod?

They are broken in my software circa 18.2.23 or so for newly created users. I am looking for admin permissions (1) which I previously read from userod, but I notice if I create a new user and add them to the admin group, their permissions don't change to 1 from 0 in userod, but they do in usergroupattach.

Thanks
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

User avatar
jsalmon
Posts: 1551
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

Re: Security permissions

Post by jsalmon » Wed Nov 07, 2018 2:32 pm

wjstarck wrote:Are security permissions now read/written from/to usergroupattach or userod?
Security permissions are linked to user groups and the userod.UserGroupNum was deprecated in favor of the usergroupattaches table.
userod.UserGroupNum:
Deprecated. Use UserGroupAttaches to link Userods to UserGroups.
https://www.opendental.com/OpenDentalDo ... xml#userod
The best thing about a boolean is even if you are wrong, you are only off by a bit.

Jason Salmon
Open Dental Software
http://www.opendental.com

User avatar
wjstarck
Posts: 935
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Re: Security permissions

Post by wjstarck » Thu Nov 08, 2018 9:26 am

Got it. Thanks
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

Post Reply