Skip to content

Commit

Permalink
data: profile: extend workstation profile to hide pages for Web UI
Browse files Browse the repository at this point in the history
This was previously handled within the Web UI codebase. Now we hide
pages specified by the `hidden_pages` configuration option.
  • Loading branch information
KKoukiou committed Dec 16, 2024
1 parent ce69045 commit ff2f4f6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion data/anaconda.conf
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,14 @@ reformat_blocklist = /home /usr/local /opt /var/www
# The path to a custom stylesheet.
custom_stylesheet =

# A list of spokes to hide in UI.
# A list of spokes to hide in GTK UI.
# FIXME: Use other identification then names of the spokes.
hidden_spokes =

# A list of spokes to hide in Web UI.
# Use the ID attribute of the Page class.
hidden_webui_pages =

# Should the UI allow to change the configured root account?
can_change_root = False

Expand Down
3 changes: 3 additions & 0 deletions data/profile.d/fedora-workstation.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ hidden_spokes =
NetworkSpoke
PasswordSpoke
UserSpoke
hidden_webui_pages =
accounts
language

[Localization]
# disable localization for the Fedora Workstation live image to avoid
Expand Down

0 comments on commit ff2f4f6

Please sign in to comment.