I think the only proper solution would be a list of users and roles within JMRI, and all menu items checking on whether a user's choice corresponds with any role that would allow him to perform that task.
Not trivial, but completely os-independent and the only way to give proper, informative error messages when a choice is refused.
Any half-baked solution based on os-specific protection meddling will be confusing and therefore hard to explain.
This approach would allow many separate permissions. Very flexible and easy to use (if notvto implement)!
Wouter
toggle quoted message
Show quoted text
It should be noted: MS-Windows since MS-Windows NT 4 has had these abilities --
file ownership and protection and multiple *users*, who could be granted
different levels of access to "shared" resouces. Linux has had this from day 1
(or day 0). MS-Windows users are generally unaware of these O/S features or
how to make use of them, but they are there. People keep asking about password
protecting their files. Generally people set up their computers to not have a
password login (dumb!). Or don't realize that they can create multiple logins
(eg one for each member of the family / Club / Company / Organization).
At Fri, 09 Aug 2024 12:07:45 -0700 [email protected] wrote:
>
> Dennis,
>
> More than ten years ago, there were a small number of members who thought that they could modify anything on the layout without consulting with anyone as to the possible ramifications.?? Some of them had been members since the founding.
>
> Some days we would find multiple copies of essentially the same panel with minor variations that would at least be easily recognized.?? Some times very subtle changes had been made to a panel and only after a member complained about how it was now working, or not working, could a repair be made.
>
> Making the XML file and the backupPanels folder as read-only and keeping a complete backup set of files on a memory stick did provide some measure of prevention.?? However, when any member could be there at almost any time of the week, some problems still occurred.?? With the more recent versions of JMRI, we also keep an alternative Config Profile for backup data.?? If faceless JMRI ability had been available at the time, maybe we would have tried that too.
>
> Only after the same topic for several repeated business meetings made it clear to all members that the Zeroth Rule of Bureaucracy was to be strictly enforced, "You touch it, or you complain about it, it is henceforth *YOUR* problem," along with a designated person to request needed changes for observed problems, did we get any real relief.
>
> Cliff in Baja SoCal
>
>
>
>
>
>
>
--
Robert Heller? ? ? ? ? ? ?-- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software? ? ? ? -- Custom Software Services
? -- Linux Administration Services
heller@...? ? ? ?-- Webhosting Services