Skip to content

lauraneto/umbraco-admin-only-property

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Admin Only Property Editor for Umbraco

Downloads NuGet GitHub 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).

Installation

Add the package to an existing Umbraco website (v10.2 or later) 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 an unlocked padlock emoji will be displayed alongside the label, for example:

Document type indicator

Known Issues

The package does not currently support being used to 'wrap' the following data types:

  • Block list - see issue #19

Contributing

Contributions to this package are most welcome! Please read the Contributing Guidelines.

Acknowledgements

Logo

The package logo uses the Shield (by Kholifah) icon from the Noun Project, licensed under CC BY 3.0 US.

About

An Umbraco package for properties restricted by user groups

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 83.0%
  • HTML 17.0%