Subscription Details and Rollbase Forum

Posted by coates_aj on 10-Jun-2015 08:56

Hi,

We are using Rollbase 3.2.2 Private cloud and I was wondering if there was a way to remove the "Subscription Details" and "Rollbase Forum" links that appear on the user panel in the top right hand corner. In particular the subscription details which we would only ever want an administrator user to have permissions to see.

Thanks for any help

Posted by Godfrey Sorita on 10-Jun-2015 11:09

Hi Andrew,

There are no configurable settings or permissions to restrict specific user roles in viewing these links. However, you can programmatically hide it by following the steps below:

  1. Set the integration name of administrator role. In this example, I will be using "$admin".
  2. Go to your application's header and footer section.
  3. Copy the code below:
<script>
$( function() {
    if ("{!#CURR_USER.role#code}" != "$admin") {
        $("#links-list").find("a[href='../components/about.jsp']").hide();
        $("#links-list").find("a[href='https://community.progress.com/login.aspx']").hide();
    }
});
</script>

Regards,

Godfrey

All Replies

Posted by Godfrey Sorita on 10-Jun-2015 11:09

Hi Andrew,

There are no configurable settings or permissions to restrict specific user roles in viewing these links. However, you can programmatically hide it by following the steps below:

  1. Set the integration name of administrator role. In this example, I will be using "$admin".
  2. Go to your application's header and footer section.
  3. Copy the code below:
<script>
$( function() {
    if ("{!#CURR_USER.role#code}" != "$admin") {
        $("#links-list").find("a[href='../components/about.jsp']").hide();
        $("#links-list").find("a[href='https://community.progress.com/login.aspx']").hide();
    }
});
</script>

Regards,

Godfrey

This thread is closed