I want to allow portal user to create,modify Incidents .In previous version we did same thing
Table:-priv_urp_grant_actions:-in this table we add new values to give permission On UserPortal to display incident data(profileId=2),(class=Incident),(permission=yes),(action=modify).
But in itop2.0 there is no priv_urp_grant_action..
now how can i change/modify portal user permission..
can anyone help to solve htis issue..
Thanks in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
first you have to change 'Portal User' permision in itop2.0..if you see in itop profile in admin tool.portal user have no right to modify,create incident..
so first we have to change or modify this predefined permission....
change permission in env-prodicution folder..
then inside portal folder there is index.php file and inside application folder there is portalweb.php file.this are main file to make changes in portal
Please check how create incident work..after that you have to do change a little code...just simply changes class and a little bit more change means check try and catch.and a see a create ticket flow.
first try this... hope so this little guideness will help you....if still you have any problem then please update your problem in itop portal...
Regards
Pankaj khurana
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2013-03-02
Thanks for sharing. I was able to work through it, and as you had indicated it wasn't too difficult. I did run into an issue with the incident table not providing a hyperlink to the details. I had to modify the DisplaySet function in Applications\portalwebpage.class.inc.php. Did you have to do the same?
Mario
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Itop Developer Team,
I want to allow portal user to create,modify Incidents .In previous version we did same thing
Table:-priv_urp_grant_actions:-in this table we add new values to give permission On UserPortal to display incident data(profileId=2),(class=Incident),(permission=yes),(action=modify).
But in itop2.0 there is no priv_urp_grant_action..
now how can i change/modify portal user permission..
can anyone help to solve htis issue..
Thanks in advance
Thanks everyone i have done this...
Please share your results. I would like to do the same.
Regards,
Mario
Hello Mario,
first you have to change 'Portal User' permision in itop2.0..if you see in itop profile in admin tool.portal user have no right to modify,create incident..
so first we have to change or modify this predefined permission....
change permission in env-prodicution folder..
then inside portal folder there is index.php file and inside application folder there is portalweb.php file.this are main file to make changes in portal
Please check how create incident work..after that you have to do change a little code...just simply changes class and a little bit more change means check try and catch.and a see a create ticket flow.
first try this... hope so this little guideness will help you....if still you have any problem then please update your problem in itop portal...
Regards
Pankaj khurana
Thanks for sharing. I was able to work through it, and as you had indicated it wasn't too difficult. I did run into an issue with the incident table not providing a hyperlink to the details. I had to modify the DisplaySet function in Applications\portalwebpage.class.inc.php. Did you have to do the same?
Mario
Hi mario,
I have made modification in Applications\portalwebpage.class.inc.php displayset() but could you show me code what modification you done...???
Regards
Pankaj