Smallworld Authorisation

Yes it is spelled with an 's' here because it is spelled with an 's' in all the documentation….

Auto Login

Smallworld has the ability to automatically login based on the USERNAME environment. It basically gives whomever is logged permission to start smallworld without asking for a password if the USERNAME is listed as a user in the Authorisation database. Example setting below is done during opening the database (same proc that sets authorisation, probably registry procedure defined by key :open_database_proc).

    _if smallworld_product.command_line_options[:login] _is _unset
        smallworld_product.set_startup_option(:auto_login ,:|login_from_system()|)

Record Based Authorisation

The core Authorisation system allows you to set up record based authorisations. To implment this you go to groups page, and under the collections tab, you can select "advanced" on the right side for each of the tables you want to only display certain records to certain users. Note this predicate requires a test that is done on a field, so we created a logical field. This is very cool, but does come with a performance price…..

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License