Discussion:
How to make read only JSPs using access control policies.
(too old to reply)
s***@gmail.com
2007-01-26 02:23:34 UTC
Permalink
Can any one in the group point me to some ideas on how to make a view "read
only" in WCS by leveraging access control policies.

Thanks a lot in advance.

Sabrang
Nicolai Dufva Nielsen
2007-01-28 12:03:39 UTC
Permalink
Sabrang,

It is not clear to me what you mean by making a view read-only. By
definition a view is read-only, as it only displays existing information.

If what you mean is that you want to prevent the information displayed
in a view to be updated, the answer is that you'll need to control
access to the commands that update the information in question.

For example, if you want to prevent registered customers from updating
their addresses, you'd have to restrict the access to the AddressAdd,
AddressDelete and AddressUpdate commands (and probably also customise
the UserRegistrationAdd and UserRegistratoinUpdate commands).

Information about how to change the access control policies can be found
in the InfoCenter. The topic "Understanding access control" is a good
start if you a green in this area:

http://publib.boulder.ibm.com/infocenter/wchelp/v6r0m0/topic/com.ibm.commerce.developer.doc/concepts/caxunderstandaccessmain.htm


/Nicolai
Post by s***@gmail.com
Can any one in the group point me to some ideas on how to make a view "read
only" in WCS by leveraging access control policies.
Thanks a lot in advance.
Sabrang
s***@gmail.com
2007-01-29 07:10:25 UTC
Permalink
Thanks for your advice Nicolai...
Post by Nicolai Dufva Nielsen
Sabrang,
It is not clear to me what you mean by making a view read-only. By
definition a view is read-only, as it only displays existing information.
If what you mean is that you want to prevent the information displayed
in a view to be updated, the answer is that you'll need to control
access to the commands that update the information in question.
For example, if you want to prevent registered customers from updating
their addresses, you'd have to restrict the access to the AddressAdd,
AddressDelete and AddressUpdate commands (and probably also customise
the UserRegistrationAdd and UserRegistratoinUpdate commands).
Information about how to change the access control policies can be found
in the InfoCenter. The topic "Understanding access control" is a good
http://publib.boulder.ibm.com/infocenter/wchelp/v6r0m0/topic/com.ibm....
/Nicolai
Post by s***@gmail.com
Can any one in the group point me to some ideas on how to make a view "read
only" in WCS by leveraging access control policies.
Thanks a lot in advance.
Sabrang- Hide quoted text -- Show quoted text -
Continue reading on narkive:
Loading...