Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] REST API user

Subject: COmanage Developers List

List archive

[comanage-dev] REST API user


Chronological Thread 
  • From: Ioannis Igoumenos <>
  • To: Benn Oshrin <>
  • Cc: COmanage Dev <>
  • Subject: [comanage-dev] REST API user
  • Date: Mon, 10 Feb 2020 07:01:48 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=admin.grnet.gr; dmarc=pass action=none header.from=admin.grnet.gr; dkim=pass header.d=admin.grnet.gr; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dmr35m3UcGEAJtBy+13LsG8WyCVDN5LlNstYU4wwtwk=; b=kH/qhpwi+n1uZOwAmN72H0SZv7sj/lRZhEcT1yzqFHDsFv1tdf1G68mwyZB7jBNv7bxprpfuLDXEuLCEFgsJADHwGXwrTQVcz+fZFeprMkPusKsjXwjMX4ducli5p5UTzGyy5y2AINk3eaR6Rx2JSJlcfu0pOCdhXMaQIVWICeV3Km+0+UJrYfGfoInbNbyYmvfvxubnQbCFWo9vr+Kyor1ApJ5akw5yWYu1zZdR5fm2HdSWYj1YZuj5KuEGMVCTl+e2RBtVYLv/5nEMKJjX3Ed8FBBvKVTJmPIly+mFyF9l4q21uOrwo/FitOU5YooDA/gN1z45gBNW0QlkEJHu1A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fPzLvzPwjkSafzTxY0orhT5OI6Wcgqxr4sKeBn0FLx+Ij3nHGhcFrWeRf/eReFjadLHNUyOjg7r6rrLSjNakgRdIu0kUaKzqZGoXXVQQ/ISbh3pueDnMEFkn3DZaYcjUauYnUoSxmTjH75kScwhV5GhHDPorAoVlIGKJDXHLWQHWGhzBVjt6SpkaI+KLQtojUtYjF4tOIvC29UCm8Z0BnoXuXWfYEZnHei3Kwmt021z91HMvv79dEhBU+XvrbH8XmgI1fNBPVx7kh2q3yOk9GgcXwY8jJHLx+fRFRzfiAmnyJnCk+jU988/rPmLyM3N/XqvREcHYlBQEcSw5qj0btA==

Hi Benn,

i was working on the changes of the REST API user and i have a question.

Currently, the edit view creates the prefix but gives the opportunity to
the admin to change it. Put it simply, the prefix is editable, which i
think is not the wright path.

So, while trying to implement a non editable prefix,e.g. co_xx, i could
not decide how to present this to the user. What is you opinion?

1. Add the prefix in the text field and use javascript to disable edit

2. The username should provide only the username and we add the prefix
in the beforeSave event. In the view that we list all the API users we
will provide the full form of the username.

3. A css solution of a non editable text field/label that will be
behind/prepend the existing one. On submit we will add the prefix in the
beforeSave function.


Regards,

Ioannis

--
Ioannis Igoumenos
Research Engineer
National Infrastructures for Research and Technology (GRNET)
7, Kifisias Av., 115 23, Athens, Greece
t: +30 210 7471130 ext: 442
f: +30 210 7474490

Follow us: www.grnet.gr
Twitter: @grnet_gr | Facebook: @grnet.gr
LinkedIn: grnet | YouTube: GRNET EDET




Archive powered by MHonArc 2.6.19.

Top of Page