[gold-users] meaning of Display
Scott Jackson
scottmo at clusterresources.com
Wed Apr 15 16:35:55 MDT 2009
Hello Stijn,
I'm sorry that I did not answer earlier. It appears that a number of my
gold-users emails were filtered into my spam folder. I believe I have
fixed this problem now. I will try to address your issue now.
Stijn De Weirdt wrote:
> hi all,
>
> i'm trying a few things out with gold to see how we could benefit from
> it.
>
> but i have a question about the Display=true|false meaning of an Action.
>
> the manual still (incorrectly) lists it as part of an Object, and
> describes it as 'Since we would like to manage licenses from the web
> GUI we will set Display=True.'
>
> in the changelog i found that the Display attribute is now set to Actions,
Thanks, I have updated the customize section of the docs to associate
the Display attribute with the Action instead of the Object.
> so i thought as following: the User object has an Action Create which
> has Display set to True. if i know create a user and give that user
> the SysAdmin UserRole, i'd assume that this user can now create new
> users, but also that the this user can do this from the web GUI. well,
> if i login on the webpage, i only see the possibilty to list the users.
>
I would agree. That is how I would expect it to behave. I assume you
restarted goldd?
If you are still having this problem, please send me the outputs from:
$ goldsh Role Query
$ goldsh RoleAction Query
$ goldsh RoleUser Query
Also let me see the goldg.log after clicking on manage users.
Thanks,
Scott
[scottmo at keko doc]$ svn diff
Index: customize.sgml
===================================================================
--- customize.sgml (revision 108)
+++ customize.sgml (working copy)
@@ -150,7 +150,6 @@
<arg>Association=True|(False)</arg>
<arg>Parent=<replaceable><Parent Object></replaceable></arg>
<arg>Child=<replaceable><Child Object></replaceable></arg>
- <arg>Display=True|(False)</arg>
<arg>Description=<replaceable><Description></replaceable></arg>
<arg>ShowUsage:=True</arg>
</cmdsynopsis>
@@ -158,7 +157,7 @@
<title>Creating a Node Object</title>
<para>
<userinput><prompt>$ </prompt>
-goldsh Object Create Display=True Description="Node Information"
+goldsh Object Create Name=Node Description="Node Information"
</userinput>
</para>
<screen>
@@ -187,6 +186,7 @@
<command>goldsh Action Create</command>
<arg choice="plain">Object=<replaceable><Object
Namee></replaceable></arg>
<arg choice="plain">Name=<replaceable><Action
Name></replaceable></arg>
+ <arg>Display=True|(False)</arg>
<arg>Description=<replaceable><Description></replaceable></arg>
<arg>ShowUsage:=True</arg>
</cmdsynopsis>
@@ -219,11 +219,11 @@
</userinput>
</para>
<para>
-Create the License Object. Since we would like to manage licenses from
the web GUI we will set Display=True.
+Create the License Object.
</para>
<para>
<userinput><prompt>gold> </prompt>
-Object Create Name=License Display=True Description=License
+Object Create Name=License Description=License
</userinput>
</para>
<screen>
@@ -289,11 +289,11 @@
Successfully created 1 Attribute
</screen>
<para>
-Finally, we designate the actions we will allow on the object. The
standard set of actions includes Create, Query, Delete, Modify and Undelete.
+Finally, we designate the actions we will allow on the object. The
standard set of actions includes Create, Query, Delete, Modify and
Undelete. Since we would like to manage licenses from the web GUI we
will set Display=True.
</para>
<para>
<userinput><prompt>gold> </prompt>
-Action Create Object=License Name=Create Description=Create
+Action Create Object=License Name=Create Display=True Description=Create
</userinput>
</para>
<screen>
@@ -301,7 +301,7 @@
</screen>
<para>
<userinput><prompt>gold> </prompt>
-Action Create Object=License Name=Query Description=Query
+Action Create Object=License Name=Query Display=True Description=Query
</userinput>
</para>
<screen>
@@ -309,7 +309,7 @@
</screen>
<para>
<userinput><prompt>gold> </prompt>
-Action Create Object=License Name=Modify Description=Modify
+Action Create Object=License Name=Modify Display=True Description=Modify
</userinput>
</para>
<screen>
@@ -317,7 +317,7 @@
</screen>
<para>
<userinput><prompt>gold> </prompt>
-Action Create Object=License Name=Delete Description=Delete
+Action Create Object=License Name=Delete Display=True Description=Delete
</userinput>
</para>
<screen>
@@ -325,7 +325,7 @@
</screen>
<para>
<userinput><prompt>gold> </prompt>
-Action Create Object=License Name=Undelete Description=Undelete
+Action Create Object=License Name=Undelete Display=True
Description=Undelete
</userinput>
</para>
<screen>
@@ -357,11 +357,11 @@
</userinput>
</para>
<para>
-Create the GridMap Object. Since we would like to manage certificates
from the web GUI we will set Display=True.
+Create the GridMap Object.
</para>
<para>
<userinput><prompt>gold> </prompt>
-Object Create Name=GridMap Display=True Description="Online Grid Map File"
+Object Create Name=GridMap Description="Online Grid Map File"
</userinput>
</para>
<screen>
@@ -387,11 +387,11 @@
Successfully created 1 Attribute
</screen>
<para>
-Finally, we designate the actions we will allow on the object.
+Finally, we designate the actions we will allow on the object. Since
we would like to manage certificates from the web GUI we will set
Display=True.
</para>
<para>
<userinput><prompt>gold> </prompt>
-Action Create Object=GridMap Name=Create Description=Create
+Action Create Object=GridMap Name=Create Display=True Description=Create
</userinput>
</para>
<screen>
@@ -399,7 +399,7 @@
</screen>
<para>
<userinput><prompt>gold> </prompt>
-Action Create Object=GridMap Name=Query Description=Query
+Action Create Object=GridMap Name=Query Display=True Description=Query
</userinput>
</para>
<screen>
@@ -407,7 +407,7 @@
</screen>
<para>
<userinput><prompt>gold> </prompt>
-Action Create Object=GridMap Name=Modify Description=Modify
+Action Create Object=GridMap Name=Modify Display=True Description=Modify
</userinput>
</para>
<screen>
@@ -415,7 +415,7 @@
</screen>
<para>
<userinput><prompt>gold> </prompt>
-Action Create Object=GridMap Name=Delete Description=Delete
+Action Create Object=GridMap Name=Delete Display=True Description=Delete
</userinput>
</para>
<screen>
@@ -423,7 +423,7 @@
</screen>
<para>
<userinput><prompt>gold> </prompt>
-Action Create Object=GridMap Name=Undelete Description=Undelete
+Action Create Object=GridMap Name=Undelete Display=True
Description=Undelete
</userinput>
</para>
<screen>
> is there something that i'm missing?
>
> it's a standard setup with almost no modifications to the gold config
> files (i only needed to set the database user).
>
> many thanks,
>
> stijn
> _______________________________________________
> gold-users mailing list
> gold-users at supercluster.org
> http://www.supercluster.org/mailman/listinfo/gold-users
More information about the gold-users
mailing list