Security permissions

This forum is for programmers who have questions about the source code.

Security permissions

Postby wjstarck » Wed Nov 07, 2018 3: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
TX, USA
User avatar
wjstarck
 
Posts: 769
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX

Re: Security permissions

Postby jsalmon » Wed Nov 07, 2018 3: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/OpenDentalDocumentation18-2.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
jsalmon
 
Posts: 1464
Joined: Tue Nov 30, 2010 1:33 pm

Re: Security permissions

Postby wjstarck » Thu Nov 08, 2018 10:26 am

Got it. Thanks
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
TX, USA
User avatar
wjstarck
 
Posts: 769
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX


Return to Developers

Who is online

Users browsing this forum: No registered users and 5 guests

cron