You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the default view in ucc-generated nav/default.xml is set to the configuration page, which is an issue if this page requires admin privileges.
Better to default to the search view.
**Issue number:** #1041
## Summary
### Changes
> Please provide a summary of what's being changed
Configuration page require admin privileges and if a Splunk user is not
an admin - configuration page will show an error which is confusing.
This PR allows to set a default page to `search` so there will be no
error shown when a Splunk user opens add-on for the first time.
This PR enables TA developers to choose the default view, one of four:
`inputs`, `configuration`, `dashboard` and `search`.
### User experience
> Please describe what the user experience looks like before and after
this change
Nothing changes for the existing customers. For customers who decide to
use `search` view as a default one - they need to update their
globalConfig file, specifically set `meta.defaultView` to `search` and
rebuild an add-on.
## Checklist
If your change doesn't seem to apply, please leave them unchecked.
* [x] I have performed a self-review of this change
* [x] Changes have been tested
* [ ] Changes are documented
* [x] PR title follows [conventional commit
semantics](https://www.conventionalcommits.org/en/v1.0.0/)
Description
It seems that the default view in ucc-generated nav/default.xml is set to the configuration page, which is an issue if this page requires admin privileges.
Better to default to the search view.
generated /default/data/ui/nav/default.xml:
NOTE: I have latest pip 5.37.0 installed fresh, but the output log shows 5.28.4 for some reason.
What ucc-gen version are you using?
5.37.0
Additional System Info
No response
The text was updated successfully, but these errors were encountered: