Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lottepitcher/umbraco-admin-only-property

An Umbraco package for properties restricted by user groups
https://github.com/lottepitcher/umbraco-admin-only-property

hacktoberfest umbraco

Last synced: 17 days ago
JSON representation

An Umbraco package for properties restricted by user groups

Awesome Lists containing this project

README

        

# Admin Only Property Editor for Umbraco

[![Downloads](https://img.shields.io/nuget/dt/Our.Umbraco.Community.AdminOnlyProperty?color=cc9900)](https://www.nuget.org/packages/Our.Umbraco.Community.AdminOnlyProperty/)
[![NuGet](https://img.shields.io/nuget/vpre/Our.Umbraco.Community.AdminOnlyProperty?color=0273B3)](https://www.nuget.org/packages/Our.Umbraco.Community.AdminOnlyProperty)
[![GitHub license](https://img.shields.io/github/license/lottepitcher/umbraco-admin-only-property?color=8AB803)](../LICENSE)

This package adds a new data type 'wrapper' to the Umbraco backoffice that allows you to hide a document type property from any user that is not in the specified user group(s).

Umbraco versions supported: v10.2+, v11.x, v12.x and v13.x

## Installation

Add the package to an existing Umbraco website from nuget:

`dotnet add package Our.Umbraco.Community.AdminOnlyProperty`

## Configuration

After installing the package, add a new data type using the 'Admin Only Property' property editor.

Select which user group(s) can see the property (default is 'Administrators'), and which underlying data type to use.

In the following example a textstring property will only be visible to (and therefore only editable by) Administrators. Unauthorised content editors will have no idea that the property exists.

Data type config

If you would like authorised content editors to see an indicator that the property is hidden from some users then tick 'Show indicator?'. When this is ticked, a locked padlock emoji will be displayed alongside the label, for example:

Document type indicator

## Contributing

Contributions to this package are most welcome! Please read the [Contributing Guidelines](CONTRIBUTING.md).

## Acknowledgements

### Logo

The package logo uses the [Shield](https://thenounproject.com/icon/shield-5206781/) (by [Kholifah](https://thenounproject.com/vinadbumi/)) icon from the [Noun Project](https://thenounproject.com), licensed under [CC BY 3.0 US](https://creativecommons.org/licenses/by/3.0/us/).