Customized view

Hello,

I have just installed a fresh new OpenNebula-6.8.0 and I want to add a limited view. In my old system (6.4.0), I created a file named “limited-user.yaml”, I copied to /etc/one/sunstone-views/kvm and, also, I modified file /etc/one/sunstone-views.yaml in this way:

---
logo: images/opennebula-5.0.png
groups:
    oneadmin:
        - admin
        - admin_vcenter
        - groupadmin
        - groupadmin_vcenter
        - user
        - cloud
        - cloud_vcenter
    users:
        - admin
        - groupadmin
        - user
        - cloud
        - limited-user
default:
    - user
default_groupadmin:
    - groupadmin
labels_groups:
    default:

After that, I ran a “oneuser update $user_id” and added this information:

SUNSTONE=[
  DEFAULT_VIEW="limited-user" ]

However, I have done the same in the new system and, although “oneuser show $user_id” shows correctly information:

USER 43 INFORMATION
ID              : 43
NAME            : total-tutor
GROUP           : users
SECONDARY GROUPS: 1,100,103,104,105,106,107,108,109,110,111,112,113,114,115,116
PASSWORD        : d58bdf1946b298819a445cbd72564d63485b3c0a56f291e5d5ce84ad6031652f
AUTH_DRIVER     : core
ENABLED         : Yes

TOKENS

USER TEMPLATE
SUNSTONE=[
  DEFAULT_VIEW="limited-user" ]
TOKEN_PASSWORD="afc60e9fa1483be79b8eb1b2c4cab1f9caccc7fbf21664e0e09818f6e3386eee"

when user does the login, his view is “cloud” and it seems that my new view is not being applied.

In my old system, I configured “:mode: 'kvm’” in /etc/one/sunstone-server.conf and, in new system, I have left default configuration in “:mode: 'mixed’”. Could it be the problem?

Thanks.