Analyst also has such a feature by using which we can restrict unwanted users from accessing the analyst models and libraries.
Add user classes to analyst
Go to File > Administration > Maintain libraries and users
Select the tab User Classes

Here you have option to add new user classes. Before you add a user class to Analyst user classes, just make sure that you already have that user class in Access manager.
To add a user class, you should click on 'Add' button.
This will pop up a box

You can just select the user class, to which you want to provide the access. After moving the selected user classes to right panel, you should click OK.
The selected user classes appear to the list of user classes. Only those users which exist in these user classes are allowed to access the planning model.
Other options
Change namespace – If you have more than namespaces in your access manager, you may use this button for selecting different namespaces. Just click on this button and it will show the other namespaces that exist in the access manager. You can select some namespace and click OK. That will set that namespace and then… when you click on "Add" button the above form will load with those user classes which exist in the new namespace.
This option is handy when your default namespace has been changed and you want to specify new namespace as a source of your user classes.
Update access manager information – this button is used to compare the current analyst user classes with those of access manager, against which the access manager was given security permissions. If there are changes, they are enlisted.
User class details
To see the details of the user class, just select it and click on Properties button
System Administrators – If this user class should behave like system administrators, this option should be checked.
Manage only users – self explanatory
Restricted D-Cube access – self explanatory
Default Library – when you select a particular library from the drop down box, this library will be open as default from the next time that particular group logs in. There will be no box which lets you select the default library.