× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi John,

For permissions you'll want to start using the search word "authorization"
and you'll come to results like the following:
https://www.npmjs.com/package/hapi-authorization That one focuses on the
Hapi framework vs. Express (both are good, IMO, though I've started doing
more Hapi). Note that this focuses at the route level and not the more
detailed field level. You could make a route-level one work, though you'd
have to introduce a route for each type of user and that could get busy.

Concerning field labels; are you hoping to automatically derive the field
label from the column ~TEXT~ property? That can work and can be a good
convention-over-configuration methodology, though make sure to leave room
for overrides. Note you'd probably want some form of caching mechanism so
you didn't have to repeatedly ask the system tables for column information.

Aaron Bartell
IBM i hosting, starting at $157/month. litmis.com/spaces


On Wed, Aug 2, 2017 at 5:44 AM, john art <jhon_art@xxxxxxxxxxx> wrote:

Hi all

we are writing a small APP using NodeJs / espress adn webix (
https://www.itjungle.com/2016/11/01/fhg110116-story03/ )for interface;
now we have to understand how to better manage this matters:

1- field's label in the form : if in DB2 the field name is CUSTID in the
form we would like to show "Customer Code" and so on (now for default we
see CUSTID)

2- field's permission : some user can't change some fields, other yes and
other can't see the fields


any suggestions would be welcome .. how do you manage thsi situation ?


thanks in advance

--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.