From: Adam R. <ad...@ex...> - 2011-09-14 23:22:13
|
Internally it gets even more complicated, we have Accounts and Subjects, both are different but often used interchangeably with the term 'User'. Basically a Subject is an authenticated Account. I have some ideas to simplify all this in the future, and yes I would like to see consistency. Externally I think the term 'User' is most prevalent and should probably be standardised upon... On 14 September 2011 21:31, Joe Wicentowski <jo...@gm...> wrote: > Hi all, > > In eXist 1.5dev, the /db/system/security/ contains an "accounts" > folder, which contains documents whose root element is "account". But > nearly everywhere else in eXist we refer to "users". Using the > built-in functions as an indicator, we've got 17 references to "user" > and 2 to "account". Searching the documentation, we have 159 hits for > "user*" and 16 for "account*". > > I think the account is losing here, but whether we go with account or > user, can we just pick one and standardize on it -- especially in the > function names and in the /db/system/security folder & element names? > > Thanks! > Joe > > Users (17): > > - http://demo.exist-db.org/exist/functions/securitymanager/add-user-ace > - http://demo.exist-db.org/exist/functions/securitymanager/find-users-by-name > - http://demo.exist-db.org/exist/functions/securitymanager/find-users-by-name-part > - http://demo.exist-db.org/exist/functions/securitymanager/find-users-by-username > - http://demo.exist-db.org/exist/functions/securitymanager/insert-user-ace > - http://demo.exist-db.org/exist/functions/session/set-current-user > - http://demo.exist-db.org/exist/functions/system/as-user > - http://demo.exist-db.org/exist/functions/xmldb/add-user-to-group > - http://demo.exist-db.org/exist/functions/xmldb/change-user > - http://demo.exist-db.org/exist/functions/xmldb/delete-user > - http://demo.exist-db.org/exist/functions/xmldb/exists-user > - http://demo.exist-db.org/exist/functions/xmldb/get-current-user > - http://demo.exist-db.org/exist/functions/xmldb/get-user-groups > - http://demo.exist-db.org/exist/functions/xmldb/get-user-home > - http://demo.exist-db.org/exist/functions/xmldb/get-user-primary-group > - http://demo.exist-db.org/exist/functions/xmldb/get-users > - http://demo.exist-db.org/exist/functions/xmldb/is-admin-user > > Accounts (2): > > - http://demo.exist-db.org/exist/functions/securitymanager/get-account-metadata > - http://demo.exist-db.org/exist/functions/securitymanager/get-account-metadata-keys > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > Learn about the latest advances in developing for the > BlackBerry® mobile platform with sessions, labs & more. > See new tools and technologies. Register for BlackBerry® DevCon today! > http://p.sf.net/sfu/rim-devcon-copy1 > _______________________________________________ > Exist-development mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-development > -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |