Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 128 of 807  Not logged in ELOG logo
    icon2.gif   Re: Restrict Top Groups to logged-in users?, posted by Stefan Ritt on Tue Jul 26 20:32:02 2005 

Chris Green wrote:
I'd like to be able to prevent non-logged-in users from seeing what logbooks exist in a top group. Currently it seems that one is only required to log in once one has chosen a logbook. Is this possible?


To protect the logbook selection page, you put the "password file = <file>" into the [global] section or the [global <top group>] section. So "hide" the top group selection page, you put a "show top groups = 0" into the [global] section.
    icon2.gif   Re: hide attributes when view the logbook, posted by Stefan Ritt on Tue Jul 26 20:35:45 2005 

Juliana Peng wrote:
I may have all the attributes in logbook to keep a full record of all the machine. But for daily use, some of the attibutes we are not using so often. Too many attributes will make the window so big that can not be hold in one screen which is the reason why I want to hide some of them. Of course the hidden attributes have data, but those data are rarely used so we'd rather hide them.

Since "show attributes" prevent from inputing attributes, may not be suitable in this case. We appreciate if you can impletement a new feature like "view attibutes" which do not affect adding new entry, just hide attributes at summary view.


Use "list display = <attribute list>" to specify which attributes to show in the listing page. RTFM.
    icon2.gif   Re: Restrict Top Groups to logged-in users?, posted by Chris Green on Tue Jul 26 20:51:10 2005 

Stefan Ritt wrote:

Chris Green wrote:
I'd like to be able to prevent non-logged-in users from seeing what logbooks exist in a top group. Currently it seems that one is only required to log in once one has chosen a logbook. Is this possible?


To protect the logbook selection page, you put the "password file = <file>" into the [global] section or the [global <top group>] section. So "hide" the top group selection page, you put a "show top groups = 0" into the [global] section.


I already had the "password file = <file>" in the [global <top group>] section but I was still able to see the logbooks in that section. Neither moving the password line to [global] nor setting Show Top Groups = 0 helped. Am I doing something wrong?

Thanks,
Chris.
    icon2.gif   Re: New and reply pages don't use Page Title, posted by Chris Green on Tue Jul 26 21:05:26 2005 

Stefan Ritt wrote:
So if you have time and fun doing it, you could restructure the documentation page into some separate pages, to give people a better overview. Please send the modified pages back to me and I will include them on the web site.

I'll try to put this together in the next week or two. Thanks for all your help,
Chris.
    icon2.gif   Re: Restrict Top Groups to logged-in users?, posted by Stefan Ritt on Tue Jul 26 21:11:31 2005 

Chris Green wrote:
I already had the "password file = <file>" in the [global <top group>] section but I was still able to see the logbooks in that section. Moving the password line to [global] and / or setting Show Top Groups = 0 helped. Am I doing something wrong?


If you move the "password file = <file>" entry around, you can get fooled by stored cookies. So after each modification, make sure to delete all cookies in your browser.
    icon2.gif   Re: Restrict Top Groups to logged-in users?, posted by Chris Green on Tue Jul 26 21:54:39 2005 

Stefan Ritt wrote:

If you move the "password file = <file>" entry around, you can get fooled by stored cookies. So after each modification, make sure to delete all cookies in your browser.


This didn't work, but after corresponding with Stefan privately, the following did:

[global]
Show Top Groups = 1

[global top_group]
Protect selection page = 1
Password file = papers.pwd

Thanks again, Stefan.
Chris
    icon2.gif   Re: hide attributes when view the logbook, posted by Juliana Peng on Tue Jul 26 22:05:24 2005 

Stefan Ritt wrote:


Use "list display = <attribute list>" to specify which attributes to show in the listing page. RTFM.


Thanks. "List display" is what we need.

But is there a way to control to hide or view the attributes? so that we don't need to change the elog.conf file each time.

For example, add a menu "expend" in "Find menu commands", we can click to view all the attributes or just view the attributes defined in "List Display"

Or use "{1} List Display = ....", we can view all the attributes at list page, but if selecting SunOS, only show attributes in List Display
    icon2.gif   Re: hide attributes when view the logbook, posted by Stefan Ritt on Wed Jul 27 09:07:17 2005 

Juliana Peng wrote:
But is there a way to control to hide or view the attributes? so that we don't need to change the elog.conf file each time.

For example, add a menu "expend" in "Find menu commands", we can click to view all the attributes or just view the attributes defined in "List Display"

Or use "{1} List Display = ....", we can view all the attributes at list page, but if selecting SunOS, only show attributes in List Display


In that case I would suggest two separate logbooks, for for SunOS and one for others. This way you can manage two separate sets of attributes.
ELOG V3.1.5-3fb85fa6