# User Levels & Permissions

Functions Used

* User Levels
* – Functions List
* User Permissions
* – Functions List

Levels — *userquery.class.php*

* get\_levels()
* get\_levels\_details()
* get\_level\_users()
* get\_level\_permissions()
* add\_user\_level()
* update\_user\_level()
* delete\_user\_level()
* level\_type\_exists

Permissions — *userquery.class.php*

* add\_new\_permission()
* permission\_exists()
* get\_permissions()
* remove\_permission()
* perm\_check()

General Purpose

* has\_access() — *functions.php*

### User Levels

User levels are used to group users in different levels ie. Administrators, Moderators, Registered users etc.

ClipBucket has 5 Default Levels that cannot be deleted but you can edit them

1. Administrator
2. Registered User
3. Inactive User
4. Gues
5. Global Moderator

as their names define, they are generatl purpose use, any inactive user will have “Inactive leve”, gues will have “Guest” , admin will have “Administrator” and so on..

Eeach Level has its own [permissions](broken://pages/VUoGHUi4ul0AGnKwjkde) that can be added, edit or delete from admin panel. You can assign users 1 level at one time and he can access different areas of your website if his level has permission to access the page, Levels are Linked with permissions as showed in following diagram

[![Levels and Permissions Relation Diagram](http://docs.clip-bucket.com/wp-content/uploads/2010/01/level_permission_relation_diagram-200x300.png)](http://docs.clip-bucket.com/wp-content/uploads/2010/01/level_permission_relation_diagram.png)

Levels and Permissions Relation Diagram

![](https://clipbucket.com/docs/wp-content/plugins/wp-postratings/images/loading.gif)Loading...


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.clipbucket.com/fundamentals/basic-understandings/user-levels-and-permissions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
