Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lottepitcher/umbraco-admin-only-property
- Owner: LottePitcher
- License: mit
- Created: 2022-09-21T11:27:08.000Z (over 2 years ago)
- Default Branch: develop
- Last Pushed: 2024-02-08T12:57:57.000Z (11 months ago)
- Last Synced: 2024-05-02T00:12:52.111Z (8 months ago)
- Topics: hacktoberfest, umbraco
- Language: C#
- Homepage: https://marketplace.umbraco.com/package/our.umbraco.community.adminonlyproperty
- Size: 642 KB
- Stars: 9
- Watchers: 3
- Forks: 7
- Open Issues: 8
-
Metadata Files:
- Readme: .github/README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
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.
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:
## 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/).