Trouble with user management

64 views
Skip to first unread message

Mikael Pesonen

unread,
Dec 9, 2016, 8:10:37 AM12/9/16
to vocbench-user

Hi,

I'm having trouble adding users to VocBench (2.4.2 and 2.4.3).

I have been using default administrator account so far and now added
new user. In assignable user groups I added Administrator and for
Projects added all we have, but when logging in with new user and
selecting a project, the group selection list is empty and can't open
any project.

Also small bug, removing languages from a user (Declared language
proficiencies) doesnt remove them and gives no error.

Br,
Mikael

--
Lingsoft - 30 years of Leading Language Management

www.lingsoft.fi

Speech Applications - Language Management - Translation - Reader's and Writer's Tools - Text Tools - E-books and M-books

Mikael Pesonen
System Engineer

e-mail: mikael....@lingsoft.fi
Tel. +358 2 279 3300

Time zone: GMT+2

Helsinki Office
Eteläranta 10
FI-00130 Helsinki
FINLAND

Turku Office
Linnankatu 10 A
FI-20100 Turku
FINLAND

Andrea Turbati

unread,
Dec 12, 2016, 10:01:34 AM12/12/16
to vocben...@googlegroups.com
Hi Mikael,
the user management (in particular the assignment of users to project) can be seen as a two step process.
In the first part you specify which are the projects that a user can be interested in (this part it is normally done by the user itself when he is registering to VocBench and he is interested in accessing to some projects). This first part can also be achieved by the administrator by doing administration->Users. In this windows you have on the left part the list of all the users. Then by clicking on the user you see the "suggested" projects, roles and languages for the given user, but these features are not really assigned to the user.
In the second step, you bind a project to a user (in reality is the other way round). This can be achieved by clicking on: Administration->Projects. Here you have on the left part the list of projects. By clicking on a project, you have all the users which are allowed to use that specific project and, by selecting a user, you can see the groups and languages. By clicking on '+' in the user section you can add a user (the "Show only requested" let you switch from the complete list of users to the one containing just the subset which would like to be associated to that project).
Remember that each user can have different user groups and languages regarding different project, so the order by project (the second step) is the only way to achieve this associations.

Cheers,

Andrea


Il 09/12/2016 14:10, Mikael Pesonen ha scritto:

Hi,

I'm having trouble adding users to VocBench (2.4.2 and 2.4.3).

 I have been using default administrator account so far and now added new user. In assignable user groups I added Administrator and for Projects added all we have, but when logging in with new user and selecting a project, the group selection list is empty and can't open any project.

Also small bug, removing languages from a user (Declared language proficiencies) doesnt remove them and gives no error.

Br,
Mikael



-- 
-------------------------------------------------
 
Dott. Andrea Turbati, PhD
AI Research Group,
Dept. of Enterprise Engineering
University of Roma, Tor Vergata
Via del Politecnico 1 00133 ROMA (ITALY)
tel: +39 06 7259 7334 
lab: +39 06 7259 7332 
e_mail: tur...@info.uniroma2.it
home page: http://art.uniroma2.it/turbati/

--------------------------------------------------

Mikael Pesonen

unread,
Dec 14, 2016, 7:42:34 AM12/14/16
to vocbench-user

Any idea what could be wrong?

Mikael

Armando Stellato

unread,
Dec 14, 2016, 8:57:51 AM12/14/16
to Mikael Pesonen, vocbench-user
Hi Mikael,

Andrea replied to you here: https://groups.google.com/d/msg/vocbench-user/iyNzknkHqaU/ZwscMwuiBwAJ

The general idea which has been introduced in VB2.4 (see https://bitbucket.org/art-uniroma2/vocbench/src/016f63e6f3888f2a820d7e4fa578d1f1d9d2421d/ChangeLog.txt , first entries of changelog for 2.4) is that each user is able to declare their capabilities, and their interest in certain projects. This is the first step that Andrea mentioned, which is normally performed by the user when they ask to be registered to VocBench, but also be performed by the Administrator. For instance, "assignable" user group means, "declared language proficiencies" etc... are a sort of profile of the user. This means that the user might declare themselves (for instance) as a "terminologist" , and thus include the "Term Editor" capability to their "assignable user groups". They can also mention to be proficient in some languages. If the Administrator creates a user, then it will be possible for the admin to define this profile.

The above profile is a template that can be used when assigning users to project and defining their capabilities locally to the given project.
For instance, user "userA" has registered to VocBench and provided (or, sameway, thw admin created userA and assigned to him the following capabilities) german and English as "declared language proficiencies" and added "term editors" in the "assignable user roles".

Then, the admin takes opens project "projectFoo" (from "Administration-->Projects") and assign userA to it.
userA will have no role nor language assigned to the project. It is the administrator that has to assign, specifically for projectFoo, the covered languages and roles to userA. The admin, when adding user groups and languages, may tick the "show only requested" in order filter only those assignable groups/languages declared in the profile of userA.

For instance, while userA might be proficient in English and German, the admin might decide that, since there is already a very qualified editor for English, he prefers to assign only german to userA, in the specific projectFoo project.

Hope it helps..or pls let us know if still something has been left out :-)

Armando
> --
> You received this message because you are subscribed to the Google Groups
> "vocbench-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vocbench-use...@googlegroups.com.
> Visit this group at https://groups.google.com/group/vocbench-user.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vocbench-user/17d17576-1599-af16-
> 2ad3-c759daed5858%40lingsoft.fi.
> For more options, visit https://groups.google.com/d/optout.

Mikael Pesonen

unread,
Dec 14, 2016, 9:54:47 AM12/14/16
to Armando Stellato, vocbench-user

Hi,

oh, didn't realize to check from forum... Thank you, now I'm able to do
the configs.

Br,
Mikael

Armando Stellato

unread,
Dec 14, 2016, 10:16:33 AM12/14/16
to Mikael Pesonen, vocbench-user
Hi Mikael,

unfortunately the default in google groups is to not download emails automatically, to avoid creation of groups intended for spamming...and the admin cannot change this default, only the user when they are subscribing :-(

you can set your preferences here:
https://groups.google.com/forum/#!forum/vocbench-user/join

Cheers,

Armando

Mikael Pesonen

unread,
Dec 15, 2016, 4:52:02 AM12/15/16
to Armando Stellato, vocbench-user

Hi again!

Almost got this working. We have added user to project and user group is
"Ontolody editors" in project user settings. But when trying to move a
concept under another concept in hierarchy, VocBench stays in loading
state forever. When refreshed, concept is still in old place.

Br,
Mikael

Armando Stellato

unread,
Dec 15, 2016, 5:02:02 AM12/15/16
to Mikael Pesonen, vocbench-user
Dear Mikael,

Let's check it :-)
Could you give us in the meanwhile some info about your conf?
Is your triple store the embedded sesame, or a remote connection to an external triple store (and in case, which one? Sesame, GraphDB, other?).
Did you load any data, or just started a project from scratch?
In the first case, how big is the data you loaded?

Sorry for all these questions, but we've feedback by other users who already adopted it with no issue, so we need to be able to replicate your environment.
> https://groups.google.com/d/msgid/vocbench-user/21e12b0b-1b82-0dfb-
> 4f8b-d6d2a0a600bf%40lingsoft.fi.

Mikael Pesonen

unread,
Dec 15, 2016, 5:09:10 AM12/15/16
to Armando Stellato, vocbench-user

Hi,

Below is the config. We have ~100 concepts in a hierarchy made with the
default Administrator user account.

Br,
Mikael



# CONFIGURATION FILE


# --- DB PROPERTIES ---
# Database Connection URL: modify according to your DB installation
DB.CONNECTIONURL =
jdbc:mysql://localhost:3306/administrator_version20?createDatabaseIfNotExist=true&requireSSL=false&useUnicode=true&characterEncoding=utf-8
# Database Password
DB.PASSWORD = xxx
# Database Username
DB.USERNAME = root
...

# --- MODEL PROPERTIES ---
# Model Manager classname: don't modify this unless you really know what
you are doing :-)
MODEL.CLASS = org.fao.aoscs.model.semanticturkey.STManager

# --- PERMISSION PROPERTIES ---
# Set true/false to enable/disable permission checks based on user
groups (Default: true)
PERMISSION.CHECK = true
# Set true/false to enable/disable buttons in case of permission
allowed/restricted (Default: true)
PERMISSION.DISABLE = true
# Set true/false to show/hide button in case of permission
allowed/restricted (Default: false)
PERMISSION.HIDE = false
# Set true/false to allow/restrict actions based on user permission
langauge (Default: true)
PERMISSION.LANGUAGECHECK = true

# --- SEARCH PROPERTIES ---
# Amount of time (in milliseconds) search waits for user to input
another character before sending request
SEARCH.TIMEOUT = 300

# --- SETTINGS PROPERTIES ---
# Set this value with custom datatype to set skos:notation property for
every term instance created [e.g. For AGROVOC ->
http://aims.fao.org/aos/agrovoc/AgrovocCode]
SETTINGS.CODETYPE =
# No. of Concepts in navigation history list
SETTINGS.CONCEPTNAVIGATIONHISTORY.MAXSIZE = 25
# CUSTOM DATATYPE (For multiple datatype use semicolon ';' as a
separator) [e.g. For AGROVOC -> http://aims.fao.org/aos/agrovoc/AgrovocCode]
SETTINGS.CUSTOMDATATYPE =
# Set to true to show exception details in case of system malfunctions
SETTINGS.EXCEPTION.DETAILS.SHOW = true
# Any project having its namespace in this list will mandatorily ask for
Source/Link values in its skos:definitions (For multiple namespaces use
semicolon ';' as a separator)
SETTINGS.MANDATORY.DEFINITION.NAMESPACES = http://aims.fao.org/aos/agrovoc/
# Set this property to force zipped download to be separated into chuck
of ZIP.SIZE bytes
SETTINGS.ZIP.SIZE = 5242880

# --- VB PROPERTIES ---
# Mode can be either DEV/PRO/SANDBOX (DEV: Development; PRO: Production;
SANDBOX: Sandbox version)
VB.MODE = DEV
# Specify VocBench version
VB.ONTOLOGY.VERSION = 2.0

# --- VISITOR PROPERTIES ---
# Visitor's group id
VISITOR.GROUPID = 12
# Visitor's group name
VISITOR.GROUPNAME = Visitor
# Visitor's account password
VISITOR.GUESTPASSWORD = xxx
# Visitor's account username
VISITOR.GUESTUSERNAME = Guest
# Set to true to enable visitor only mode (Default: false)
VISITOR.ISVISITOR = false
# Set to true to enable guest login which doesn't require any user
credentials (Default: false)
VISITOR.SHOWGUESTLOGIN = false

Armando Stellato

unread,
Dec 15, 2016, 5:56:30 AM12/15/16
to Mikael Pesonen, vocbench-user
Dear Mikael,

one thing missing: Is your triple store the embedded sesame, or a remote connection to an external triple store (and in case, which one? Sesame, GraphDB, other?).

> -----Original Message-----
> From: Mikael Pesonen [mailto:mikael....@lingsoft.fi]
> Sent: Thursday, December 15, 2016 11:09 AM
> To: Armando Stellato <stel...@uniroma2.it>; 'vocbench-user' <vocbench-
> us...@googlegroups.com>
> Subject: Re: [vocbench-user] Re: Trouble with user management
>
>

Mikael Pesonen

unread,
Dec 15, 2016, 7:15:51 AM12/15/16
to Armando Stellato, vocbench-user

I'm not sure what that means. I have semantic turkey running - that came
with Vocbench package.

Mikael

Andrea Turbati

unread,
Dec 15, 2016, 10:12:45 AM12/15/16
to vocben...@googlegroups.com
Dear Mikael,
when you created the project, which value did you selected in "Mode:
connection/technology choice. This depends on the chosen triple store."?
In memory/persistent, in memory/no persistent, native store/pesistent,
remote access. In case of this last value, what type of triple are you
connecting to?

Mikael Pesonen

unread,
Dec 29, 2016, 4:30:29 AM12/29/16
to vocbench-user

Hi,

I chose  in memory/persistent.
Reply all
Reply to author
Forward
0 new messages